Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Simple: Object setfocus in a form
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..
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement