Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select / Highlight a one char textbox
Message
De
10/11/2003 10:51:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Select / Highlight a one char textbox
Divers
Thread ID:
00848323
Message ID:
00848323
Vues:
62
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform