Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Tricks
Message
From
29/11/1997 02:03:45
 
 
To
28/11/1997 23:09:21
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00062832
Message ID:
00062841
Views:
40
>Hi all,
>
>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?
>
>In combobox, if I do not want to allow user to enter anything except choose from the drop down, how I should accomplish this?
>
>Thanks.
>
>Regards,
>Farouk Yew Abdullah

Farouk.
1. Have you tried Keypress event of the form?
2. For combobox, set the Style property to Dropdown List.

HTH
John.
It's "my" world. You're just living in it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform