Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to keep control on a combobox when user clicks out
Message
De
06/06/2003 17:51:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00797500
Message ID:
00797510
Vues:
21
>>A combobox starts out with controlsource empty. We want to force user to either make a choice, press escape, or press the cancel button. Since the valid event does not fire if user clicks on onother control we are trying to place code in LostFocus but haven't been able to figure out what works.
>>
>>Any ideas? TIA,
>>
>>Alex
>
>Put NODEFAULT into LostFocus. Something like
IF EMPTY(This.Value) AND LASTKEY() <> 27
>  NODEFAULT
>ENDIF
>
Thank you, Sergey.

Alex
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform