Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Required Fields?
Message
 
À
16/01/1997 10:56:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00017517
Message ID:
00017528
Vues:
76
>The Valid() is the way to go. Can you give us additional information so we can track why the Valid() is not working?

Sure. Ok, once the control has focus the user is not allowed to leave that control until some value is entered into the combobox (the combobox is initially blank). Originally, I had in the valid event of the combobox:

IF EMPTY(this.Value) .AND. this.required
return .F.
ELSE
return .T.
ENDIF

Now, if the user uses the tab to get to the combobox and does nothing and then uses the tab to exit the combobox, the valid event is not fired. If, when in the combobox, the user uses the up or down arrows to change the value in the combobox, the valid event is fired _every time the value changes_.

Michael G. Emmons

Michael G. Emmons
memmons@nc.rr.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform