O'Reilly logo

Microsoft® .NET Compact Framework Kick Start by Ronnie Yates, Erik Rubin

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using the TabControl Control

The TabControl control is an ideal control for the small devices because it allows you to overlay multiple groups of controls. The TabControl stacks pages of control one on top of the other and then allows the user to switch between pages by clicking a pages tab.

Adding a TabControl control to your application can be done at design time using the Form Designer. First, drag a TabControl onto the application's form. Next, to add a TabPage to the TabControl, right-click the TabControl control and select the Add Tab menu option. This will add a TabPage to the TabControl. You can then use the Properties window to customize the TabPage.

Alternatively, you can use the TabPage Collection Editor to add TabPages. To bring up ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required