>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.