Dock

  • Thread starter Thread starter Craig Buchanan
  • Start date Start date
C

Craig Buchanan

I am trying to create a resizable form that has a tabcontrol and two
buttons. i would like the tabcontrol to resize w/ the form, have the
buttons keep position relative to the bottom-right corner of the form, and
not have the tabcontrol obscure the buttons.

I've tried a number of Dock variations to get this to work, including two
panels and the table layout control. I can't seem to get the right
combination of settings and controls... What am I missing?

Thoughts appreciated.

Craig Buchanan
 
Craig Buchanan said:
I am trying to create a resizable form that has a tabcontrol and two
buttons. i would like the tabcontrol to resize w/ the form, have the
buttons keep position relative to the bottom-right corner of the form, and
not have the tabcontrol obscure the buttons.

I've tried a number of Dock variations to get this to work, including two
panels and the table layout control. I can't seem to get the right
combination of settings and controls... What am I missing?

Thoughts appreciated.

Craig Buchanan


Don't use the dock property, but rather you should use the anchor property.
Anchor the two buttons to the bottom right, and anchor the tab to all four
sides.
 
Back
Top