I have one add button with this code:
INSERT INTO mytable ...
Thisform.object.setfocus()
The valid event of this object that receives the focus contains:
IF EMPTY(This.value)
Messagebox('Field must not be empty',48,'Atention')
RETURN .F.
ENDIF
I execute the following sequence
1) Click outside of this object. The valid event doesn't fire.
2) Try to exit with the keyboard (tab key). The valid event fires.
3) Try to exit the object with mouse (again). The valid event fires.
Why in the first time I can exit the object with the mouse and in the
second I can't ?
TIA.
Antonio Carlos Kleinübing
Systems Analyst