Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validate combobox in grid
Message
De
23/02/1998 18:41:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
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:
00080616
Vues:
23
>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

NoDefault
ThisPage.setfocus (should be probably written as this.parent.setfocus)
This.SetFocus

I guess it would forcibly reactivate the current page, then the combo.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform