Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Auto Dropdown Combo
Message
 
To
21/01/1999 22:22:44
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00178818
Message ID:
00180056
Views:
28
>Can anyone tell me how to make a combobox automatically dropdown when it gets focus? Thanks in advance.

I suppose you know what you are doing, or you have been specifically asked for a combobox that works this way ... otherwise I would ask you to please reconsider what you are doing.

Won't your users get baffled when they enter what's essentially an edit box with an arrow on the end and have the screen suddenly change it into something else? Also, a combobox works in a standard way. It's expected to work in that way no matter what application they are using (it even works in the standard way on UT).

Use a ComboBox when the user _may_ wish to select from a list of items rather than take the suggested item (or leave blank).

Use a ListBox for the opportunity to give the user an immediate visual list of options.

To use an automatically dropped down combobox to save screen space is the same as using a stone to punch in a nail because it's easier to carry than a hammer.
Look to the design of your screens. Keep within the standards, don't fight against them.

Steve
Steve Peacocke
Development Team Leader
Prudential Assurance
Previous
Reply
Map
View

Click here to load this message in the networking platform