Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ComboBox Tricks
Message
De
01/12/1997 11:09:48
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
28/11/1997 23:09:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00062832
Message ID:
00063031
Vues:
54
>Has anyone tried to activate the the drop down list by activating a function key, ex: F2? I have tried to put codes in the combo box keypress:
> ex: if lastkey()=-1
> this.downclick()
> ......
>This does not work. I have also check the form keypreview property but also not luck there. Any hint?
>

Try...
if nKeyCode=-1
keyboard '{ALT+DNARROW}'
endif


>In combobox, if I do not want to allow user to enter anything except choose from the drop down, how I should accomplish this?
>

Try setting the Style property to 2-Dropdown List.

>Thanks.
>
>Regards,
>Farouk Yew Abdullah
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform