General information
Category:
Forms & Form designer
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only