How can you set a c# tab control to resize with the parent form. The eintire contents of my app are in tab pages and when user maximises, I need it to do so as well.
Thanks
mbowles,
Trap the Form's Resize event and write code in the Resize event handler that will resize your tab control based on the size of the form.
Just in case you don't know how to write an event handler for the Resize event, this is how:
1 - Add a method to your form and call it Form_Resize (you may call it something else but I think Form_Resize makes a lot of sense!). The signature of this method must be as follows:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.