Information générale
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement