Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: how do I change a column from txt to combo?
Message
From
20/11/2006 06:40:51
 
 
To
18/11/2006 09:20:39
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:
01170582
Message ID:
01171124
Views:
9
>I think the combobox closing is a bug/quirk of the native VFP combobox. It closes upon the first keystroke that occurs ***while*** the mouse pointer is within the rectangular area of the dropdown list. If the mouse pointer is outside of the dropdown, then keystrokes are incrementally searched and dropdown remains open.
>
>Are you saying that setting the combo's Style to Dropdown List makes the dropdown behave more like real dropdowns should?
>
>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 :)

Mike

The term "combobox" means "combination list/text box". There's a difference between a drop-down list and a combo. The combo allows you to enter your own value, despite what's in the list, where a listbox only allows selection from the list.

e.g. You a "title" listbox of "Mr", Mrs", "Miss", "Ms". One person to be added to the table has a title of "Dr",or "Maj" or "Rabbi", etc.

Hence, when you start typing in a combo it acts as it's supposed to.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform