|
Post by Xenther on Apr 16, 2004 14:31:05 GMT -5
Is it possible to hide the tabs on a tab control. I can shrink them to 1 pixel in height, but can't get them to dissapear completely.
|
|
|
Post by Dangermouse on Apr 16, 2004 16:02:26 GMT -5
Doesnt that kind of defeat the point of a tab control?
|
|
|
Post by Xenther on Apr 16, 2004 17:50:21 GMT -5
Sort of. I wanted the designed support so I could easily design multiple pages of content, but I wanted to prevent the user to seeing the tabs and being able to switch between them in the application. Here is a solution br] Make sure SizeMode is set to fixed. Then this.tabControl1.ItemSize = new System.Drawing.Size(0, 1); you'll end up with a tab control with a small bump in the upper left, if you switch the Appearance to Button or Flat Button then you'll lose the bump but also the tab control border.
|
|