Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select / Highlight a one char textbox
Message
From
10/11/2003 10:51:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Select / Highlight a one char textbox
Miscellaneous
Thread ID:
00848323
Message ID:
00848323
Views:
61
Wis it that a one character textbox will not select and highlight itself when it gets focus? I finally got it to work in a fashion by doing a KEYBOARD'{SHIFT+END}' on the GotFocus() event. However, this only works the first time the object gets focus. If you try to go to the textbox using the keyboard after it has already been filled it will not select the field. It will if you use the mouse and click into it. I do have the SelectOnEntry property set to .T. Is there a better or a proper way to do this?

Jim White
Time is a wonderful teacher. Unfortunately it kills all of its students.
Next
Reply
Map
View

Click here to load this message in the networking platform