Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox selection position
Message
From
23/02/2004 19:07:14
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00880100
Message ID:
00880122
Views:
19
>I've noticed that when you have a textbox, let's say it's bound to a field in a cursor, the field can be empty and if you click on the textbox since it's empty it positions the cursor automatically at the beginning of the textbox, BUT I can hightlight with the mouse a portion of the textbox let's say in the middle of the textbox and start typing there which doesn't make sense for me. It's causing problems with my users b/c some will click on the textbox and without noticing they had moved the mouse a little bit thus highlighting a part of the textbox and before they know it they're typing in the middle of the textbox rather than at the beginning.
>
>How do you guys handle this? Any comments?

How about doing something like this in "Valid":
This.Value = LTrim(This.Value)
Aloha,

James
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform