Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid Event does not fire when I click outside of the object
Message
De
20/07/1998 14:00:53
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Valid Event does not fire when I click outside of the object
Divers
Thread ID:
00119392
Message ID:
00119392
Vues:
86
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform