Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Set focus back to textbox after form is released
I have a textbox which it is a "must-entered" textbox. If it's empty, an error message window will popup and after it's release, the focus have to go back to the "must-entered" textbox. However, the problem i get is the focus jump to the next textbox.
I have tried to put thisform.txtName.setfocus() in txtName.Lostfocus procedure and the error said that object txtName cannot be found or something like that.
Please point me to the problem..
Gan
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