Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
LostFocus and Valid
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
LostFocus and Valid
Divers
Thread ID:
00510008
Message ID:
00510008
Vues:
42
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
Fil
Voir

Click here to load this message in the networking platform