Creating Tabbed Dialog Boxes

Windows 95 was the first version of Windows to introduce a tabbed interface. Since then, tabs have been widely adopted as a primary interface element. Tabs provide two major benefits: the logical grouping of controls and the reduction of required screen space. Although tabs might look complicated, they are actually easy to build and use.

Create a new Windows Application named Tabs Example. Change the name of the default form to fclsTabs, set its Text property to Tabs Example, and modify the Main entry point to fclsTabs. Next, add a new Tab control to your form by double-clicking the TabControl item in the toolbox. At first, the new control looks more like a panel than a set of tabs because it doesn't actually have ...

Get Sams Teach Yourself Microsoft® Visual C#™ .NET in 24 Hours now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.