Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Non-standard combobox
Message
 
 
To
15/09/2009 14:55:13
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01424555
Message ID:
01424631
Views:
70
>>No, Combobox doesn't have it, only ListBox has.
>
>Indeed; now I see it. I was checking the help file for ComboBox, and it included the MultiSelect property - must be the same text for both ListBox and ComboBox.
>
>>BTW, what would be a good name for such a listbox class?
>
>Something that reflects its function. Since it is supposed to imitate a ComboBox, perhaps ComboMulti or ComboMultiSelect; or, since it is a collapsable ListBox, CollapseListBox, CollapsableListBox, etc.

I coded this class, but I'm thinking I should have used container based class instead of the ListBox as a bare. I don't like some of its current effects :(

In particular, I don't like the gray area at the right side of the listbox. May be I should try adding a button with an arrow at the right side in run-time and only expand it when I click this button.

UPDATE. Yes, I added this - now it looks like a combobox, but it is actually a listbox. Quite a nice class - I may publish it later in my blog.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform