Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having a cell select all on entry
Message
 
To
22/01/1999 15:26:21
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00179205
Message ID:
00179235
Views:
18
Hi Daniel,

>No matter what i do i can't get the cell to select all the text when it it clicked on. I've tried setting the selected text propreties in the got focus event but that didn't work either.

Put the following code into the GotFocus event of the textbox:
   DoDefault()
   This.SelStart = 0
   This.SelLength = 999
   NoDefault
Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform