General information
Title:
LostFocus and Valid
Hi All,
I have a container that contains a mover control inside. The container has a custom valid method that is called in the LostFocus event. All works well unless the control is the last control on the form before the save button then is fails. While in the move control click on the SAVE button, the LostFocus fires, isValid returns .T., but the save is not executed.
Is the work around for this problem?
LOSTFOCUS
IF This.IsValid
DODEFAULT()
ELSE
NODEFAULT
This.SetFocus()
ENDIF
TIA,
Bob
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