PDA

Click to See Complete Forum and Search --> : Need help with Combobox Style prop.


nincs
Aug 22nd, 2001, 09:44 AM
Hello All!

I would like to make a new ActiveX control from the original Combobox control. I'd like to expose the Style property of the original Combobox, but it always failed with the following in the "property let" method: Property can't be set on this control!

Why, and how can I solve it?

Thx.

mlewis
Aug 24th, 2001, 02:24 PM
Well, VB has a problem. Whenever you make a usercontrol, the stuff on there (your combobox for example) is stuck as if it were on a running form.

You have no choice but to have three combos, one for each style, and flip which one is visible when the user sets the property. Not fun, but its the only way to make it work.