1 Attachment(s)
ActiveX List-type Property possible?
If you place a ComboBox on a Form, the ComboBox gets a Property called List, which offers a drop-down where you can enter some items.
How can I do the same thing on my Custom Controls? I've gotten a color-chooser to work by defining the property as OLE_Color, but there is nothing like OLE_List.
Any ideas?
Thanks!
Dave
Re: ActiveX List-type Property possible?
Did I fail to make myself clear? Does anyone even understand what I'm talking about? I can re-phrase if not.
Re: ActiveX List-type Property possible?
I believe that if the items are enumerated, they can be read out individually. If select all were selected then a simple loop to Additem might just do the trick.
Re: ActiveX List-type Property possible?
Quote:
I believe that if the items are enumerated
Yep, enumerating does the trick.
1 Attachment(s)
Re: ActiveX List-type Property possible?
No, an enumerated property gives a drop-down of a fixed number of choices, like in this picture.
What I want is an infinite empty list like you get with a ComboBox.List Property that you can type a list ov values into (see original post).
1 Attachment(s)
Re: ActiveX List-type Property possible?
Sorry, you are right Dave.
I found this in the "MS VB6 Component Tools Guid".