Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
LostFocus and SetFocus
Hi
I have a textbox containg some validation code and then further code in th LostFocus. The code in LostFocus will do a couple of SetFocus depending on CASE statement.
The problem is if I try to SetFocus to the original textbox containing this LostFocus. I have tried "THISFORM.textbox.SetFocus", "THIS.SetFocus" but I can't get the focus to stay with the textbox, it always moves to the next object.
Anyone with ideas?
Regards
Doug Johnston
P.S. I can't put the code in the valid because of all the SetFocus that have to done.
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