Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lostfocus (or valid) calls frm --> wierdness
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01402232
Message ID:
01402245
Views:
52
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform