Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validate combobox in grid
Message
De
23/02/1998 20:00:22
 
 
À
23/02/1998 18:41:20
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00080149
Message ID:
00080631
Vues:
20
>>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.


Great idea! I'll try it! Thanks a lot.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform