Making richtextbox resize with form?

  • Thread starter Thread starter Brett
  • Start date Start date
B

Brett

How do I have a richtextbox (or similar item) width resize when I increase
the parent form width?

I could probably use the form change event and have the richtextbox set
to -10 of the form width but was wondering if there is a better way.

Thanks,
Brett
 
Brett said:
How do I have a richtextbox (or similar item) width resize when I increase
the parent form width?

I could probably use the form change event and have the richtextbox set
to -10 of the form width but was wondering if there is a better way.

Set the richtextbox's 'Dock' property to 'Fill' or anchor the form on each
of the four edges.
 

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

Back
Top