Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validate combobox in grid
Message
De
20/02/1998 13:55:16
 
 
À
20/02/1998 13:10:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00080149
Message ID:
00080165
Vues:
21
>I'm still wrestling with this issue. I've got the validation routine in the LostFocus method for a combobox in a grid column. If the validation routine returns .f., LostFocus does NODEFAULT which leaves the combobox as the object with focus. This works fine as long as the user tabs off the combobox. If however, the user uses the mouse to select another page (for example), the focus moves to the new page. I really want the user to not be able to move focus away from the combobox until a valid entry has been made. Is this possible? If so, how?
>
>thanks in advance.
>
>Steph

I guess you could 'validate' entry in Combo.InteractiveChange event, i.e. prevent user from selecting invalid values at all.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform