Component Toolbox Problem

T

Tom

Hi

I have created a component inherited from the standard ComboBox but
cannot get it to appear in the toolbox for use within the project.

Anyone know how to get it on there?

Thanks

Tom
 
H

Herfried K. Wagner [MVP]

* Tom said:
I have created a component inherited from the standard ComboBox but
cannot get it to appear in the toolbox for use within the project.

Anyone know how to get it on there?

Create a new usercontrol, then change its 'Inherits' line and add your code.
 
T

Tom

Build the control first then you can add it to the toolbox.
Thanks this works, but it seems a little odd considering user controls
are added automatically.
Create a new usercontrol, then change its 'Inherits' line and add your code.
As soon as i change the inherits line it vanishes from the toolbox.

Cheers Guys

Tom
 
T

Tom

Build the control first then you can add it to the toolbox.

Oh, it appears that because it is part of an EXE this won't work
either.
 

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