Here I will post problems I and my colleagues met and solutions we found.

Friday, February 25, 2005

TabControl with hidden page buttons

Sometime we used TPageControl in Delphi to switch between views in the same form. We did not want to show any tabs or buttons it this scenario.

To apply same technique in .NET, different set of properties should be used. Here they are:
TabControl.SizeMode = Fixed
TabControl.ItemSize = (0, 1);
TabConrol.Appearence = Buttons;

No comments: