Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Left most position
Message
From
14/01/2008 11:42:48
 
 
To
10/01/2008 20:36:49
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01281040
Message ID:
01281613
Views:
6
Have several text boxes on a form all being classes. What I am wanting to do from my class text box is to make sure what ever is keyed in the text box, the text is at the first position of the text box.

Try this code in the GotFocus() of your textbox class:
Textbox::GotFocus
WITH This
  .SelStart = 0
  .SelLength = LEN( This.Text )
ENDWITH
NODEFAULT
Previous
Reply
Map
View

Click here to load this message in the networking platform