while using setfocus when a command is click it responds and return controls to the setfocus field but when running excutable file it keeps on giving me this message
"cannot call setfocus from within a when,valid,rangehigh or rangelow event
If you want to SetFocus back on the Control, in the .Valid() event put:-
IF EMPTY(THIS.Value)
[tab]MESSAGEBOX([.......
[tab]RETURN .F. && or 0
ENDIF
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.