Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
I've tried it both ways. Usually we use createobject.
The lostfocus and valid are firing twice for some reason.
The click is eated by test2
cmdmsg gets focus when you click on it, but doesnt fire.
38370.952, frmone.GotFocus()
38370.953, frmone.text1.GotFocus()
38375.543, frmone.text1.Valid()
38375.543, frmone.text1.LostFocus()
38375.607, frmone.text1.Valid()
38375.607, frmone.text1.LostFocus()
38375.608, frmone.LostFocus()
38375.620, test2.GotFocus()
38375.620, test2.cmdok.GotFocus()
38375.673, test2.Click()
38377.110, test2.cmdok.Click()
38377.112, test2.cmdok.Valid()
38377.136, frmone.cmdmsg.GotFocus()
* lostfocus
plValid = .T.
SET CLASSLIB TO test2
frm2 = CREATEOBJECT('test2')
frm2.show(1)
IF NOT plValid
thisform.text1.setfocus()
NODEFAULT
ENDIF
Précédent
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