How to extend Combobox

D

Damir

Hallo Everybody

Does anybody knows how to add an additional small button to Combobox in an
from Combobox inherited class.
I should add additional functionality, something like the arrows of some
controls in VS design time.

I would give user thepossibility to view all data of some specific Combobox
record from a data table, which is impossible to show inside of combobox.
Only description will be showen fo example.

Thanks for any help
 
F

Family Tree Mike

Hallo Everybody

Does anybody knows how to add an additional small button to Combobox in an
from Combobox inherited class.
I should add additional functionality, something like the arrows of some
controls in VS design time.

I would give user thepossibility to view all data of some specific Combobox
record from a data table, which is impossible to show inside of combobox.
Only description will be showen fo example.

Thanks for any help

I would do this by creating a new user control. It just seems easier to
me based on your description. Drag a combo box and a button to the
blank user control and code the actions you need.
 
D

Damir

Hello

Thank Yout for the answer. I allready played with that Idea,
but in this case I have to reflect all the methods and properties to my
Combobox on the user control,
which would cost time and lot of code which i could inherit from combobox.

I think there would be maybe a solution with ControlHostxxxx class or
something like this, but I'm not that familliar with those classes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top