Resize tabControl

G

Guest

Is there a way to resize a tabControl when the form itself isresized? For instance, I have a tabControl with two tabs. Eachtab has a rich text box on them. If the form is resized as awhole, i would like for the tabs tobe resized accordingly, andthen the text boxes resize accordingly as well.

Thanks in advance.
User submitted from AEWNET (http://www.aewnet.com/)
 
H

Herfried K. Wagner [MVP]

Is there a way to resize a tabControl when the form itself is resized?
For instance, I have a tabControl with two tabs. Each tab has a rich text
box on them. If the form is resized as a whole, i would like for the tabs
tobe resized accordingly, and then the text boxes resize accordingly as
well.

Take a look at the controls' 'Anchor' and 'Dock' properties.
 

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