Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a cmd-button get a textbox to have the focus.
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Make a cmd-button get a textbox to have the focus.
Divers
Thread ID:
00062938
Message ID:
00062938
Vues:
70
I have a form with a small command button nexto a textbox. (The textbox will be used to enter a search string).

When the command button is clicked, I want the cursor to move into the begining of the textbox, so that the user can type the text (without having to click in the textbox with the possibility of clicking somewhere in the center.)

(In FPW I used the code: _curobj = objnum(objectname) in the VALID code area, and this would highlight the textbox so that it was ready to accept typing )
David Wheeldon
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform