Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lostfocus (or valid) calls frm --> wierdness
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Divers
Thread ID:
01402232
Message ID:
01402245
Vues:
53
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
Fil
Voir

Click here to load this message in the networking platform