WinForms anchoring tab control to window borders (should be easy!)
Posted on 2006-05-28
I have an application that consists of a window... and inside that window I have a tab control. When I increase the size of or maximize the window, I'd like the tab control to resize along with the window instead of staying the size I initially set it at. I got it working so that when I increase the size of the window, the tab control does increase with it (set the tab control's anchor property). But then I can't shrink the window! As if the tab control's size gets locked or something. What's going on here? Thanks!!