Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restricting Combobox Entry
Message
From
27/07/2001 15:14:19
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
27/07/2001 15:01:26
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00536605
Message ID:
00536626
Views:
10
>>What's the cleanest way to allow a Combobox to drop the list for selection, but not allow typing? Thanks!
>
>We just did this topic, actually.
>
>Set the Style to list, not combo.
>Use KEYBOARD "{F4}" in the GotFocus to drop the list.
>USE NODEFAULT in KeyPress to trap and disallow specific keystrokes. You need to check though because some keys you'll want to allow, such as Tab and DownArrow, Return.

Viola! It works! Clean and simple... Thanks!
Previous
Reply
Map
View

Click here to load this message in the networking platform