Re: Auto-Selecting Text In a TEdit(Overwrite Mode)


[ DelphiLand FAQ ]

Posted by Joey on April 16, 2004

In Reply to: Auto-Selecting Text In a TEdit(Overwrite Mode) posted by PHILIP on April 15, 2004

I dont quite understand what you mean. But so far i think you want all the text selecting in the TEdit as you enter it. With the Edit's OnClick Event just do:

Edit1.SelectAll;

This will highlight all the text in the Edit!

If this isn't what you need post back ;)


[ DelphiLand: free Delphi source code, tips, tutorials ]