Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newbie observations on comboboxes...
Message
From
18/11/2006 10:04:45
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
18/11/2006 09:32:43
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01170960
Message ID:
01170972
Views:
12
>After spending hours trying to get a combobox dopdown to work as most people/users would expect, I find all sorts of threads on this topic that seem to conclude that the native combobox's dropdown is imperfect - at best. I'm talking about its odd behavior when incremental searching is enabled: once the list drops down, it immediately closes upon any keystroke ***if*** the mouse pointer should happen to be within the rectangular area of the dropdown list. It behaves this way regardless of whether combo is in a grid or not...
>
>I find it odd that VFP comboboxes in the developer interface work "properly", yet the native combobox class that MSoft gave us for runtime do not work the same. SO MUCH FOR OOP AND REUSABILITY, I GUESS MSOFT'S DEVELOPERS MISSED SOME OOP CLASSES :)
>
>In case any MSoft VFP developers are reading this, try dropping down the PEM's own combobox at top of Properties window to see a list of all objects. That list does not collapse when I type, regardless of where the mouse pointer happens to be. Could you make the native combobox work this way too?

Frankly the combo box is not the greatest control. It's often abused. How do I put 400,000 customers in a combobox is a far too frequently asked question.

I use Visual MaxFrame and it includes a textbox that replaces the combobox.

There are combobox classes that can be found in the download section of the UT. Maybe one of them will work for you?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform