I have a text box control that calls a FORM when the txtbox getsfocus (from inside the GotFocus event) IF a certain var is .t. Depending on what the 2nd form returns I want to go forward to the next control or stay right where I am and start over. My problem is that when I do a thisform.txtbox.setfocus from within that txtbox's gotfocus event it does not re-enter the gotfocus at the top where I check the var for .t. See Below:
txtbox.gotfocus event
if mfirstime = .t.
mfirstime = .f.
do form "another form" with mslctok
if mslctok = .f.
mfirstime = .t.
thisform.txtbox.gotfocus <=== Does not return me to "if mfirstime"
...
There must be a way to "loop" back to the beginning of the gotfocus event?
Thanks