Beginner problem with TabControl size

  • Thread starter Thread starter Eirik
  • Start date Start date
E

Eirik

Hi all,

Call me stupid, but I'm not able to set the size of a TabControl to occupy
the full area of my form.
I've tried :
tabCtrl.Size = this.ClientSize;

What happens here is that the tabs disappeair under the menu, and I'm not
able to get the to the height of the menu control.
Could anyone help a complete beginner here...

Regards
 
I've tried :Where in your code are you calling that? Put it in form_load
Not needed for this scenario but if you need it in the future:
System.Windows.Forms.SystemInformation.MenuHeight

Cheers
Daniel
 
Back
Top