Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Having a cell select all on entry
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00179205
Message ID:
00179274
Views:
28
Looks good Rich.

>I think I just found a simpler way. In the click event, set SelStart and SelLength. What you set SelLength to will depend on the data type of the text box's control source. For instance, because what I tested this on was a numeric field, I had to use:
>
>* frmPosting.txtAmount.Click
>IF NOT EMPTY(THIS.Value)
>	THIS.SelStart = 0
>	THIS.SelLength = LEN( TRANSFORM(THIS.Value, THIS.InputMask) )
>ENDIF
>
>
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Reply
Map
View

Click here to load this message in the networking platform