Creating controls dynamically

H

Hayden Kirk

Hi there,

I have a tab on my form which has tabs created at runtime. I want to place
treeview controls into those tabs but I'm running into some trouble on how
to go about this.

Is there a specific way I should be doing this?
 
P

PS

Hayden Kirk said:
Hi there,

I have a tab on my form which has tabs created at runtime. I want to place
treeview controls into those tabs but I'm running into some trouble on how
to go about this.

Is there a specific way I should be doing this?

You instansiate the controls and then add then to the Controls collection of
the "parent" control.
 

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

Similar Threads


Top