Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox selection position
Message
De
23/02/2004 19:07:14
 
 
À
23/02/2004 17:56:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00880100
Message ID:
00880122
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform