0
Answer

Controls shrinking to the size of a bevel in VS2005 IDE

hi there,

My expectations may be way too high here, and/or I may just not have set the right property, BUT on a WinForm in VS2005 I have a TabControl with a couple of pages, and on the second page, which isn't the one that appears by default, I have another tab control.  On the first page I have a grid and some buttons, nothing fancy, but they are docked and anchored as I want them.  Now I save the form, and close the page.  If I now go back and reopne that form in the IDE, and select the second page/tab of my outer tabcontrol, the inner tab control has shrunk itself to the size of a bevel, to get it back I have to find it in the list of properties for that form, and then drag it back to its original and desired size.  The buttons are also sitting on top of the grid control, despite being anchored properly, so I have to resize the grid to end just above my buttons.

This happens EVERY TIME I need to view this screen to do stuff.  I have tried setting the Locked property on various combinations of the controls, but to no avail. 

Can someone please tell me if there is a way to fix this, because frankly I'm getting extremely frustrated, and don't even get me started on visual inheritance!

Many thanks in advance

Colin