Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving Cursor And Clearing Field
Message
 
À
19/03/1999 23:58:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00200089
Message ID:
00200091
Vues:
11
>How do I move my cursor to the first field after I issue an append blank record through a command button? The current situation I get is the cursor keep on the command button.

thisform.txtMy1stTextbox.SetFocus()
as the last line in the Button.Click() method.

>How do I clear all the typing in my text box?

Not sure what do you mean. You can always select the content of the textbox the usual way (Shift + Arrow key) and then press Del. You may set the textbox.Value property to "" (or 0, depending on type of the value in the textbox), if you want to do that in code.

HTH,

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform