Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple: Object setfocus in a form
Message
De
31/03/1999 00:42:47
 
 
À
31/03/1999 00:40:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00203750
Message ID:
00203751
Vues:
20
Place the code in the Init of the Form...for example, THISFORM.cmdOK.SetFocus()

>I've created a form with a few buttons and a textbox. When I run the form, I want the Command Button that I want to be SETFOCUS. I have gone through the Help and out some code such as cmdOK.setfocus() in the Load Procedure of the form. However, the error said that Object Not found. I was wondering how I should put it correctly since I already have an object cmdOK in my form.
>
>Thanks.
>
>C.D.Gan
>
>Newbies is like that..
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform