Tab Control

A Tab control allows you to create multiple pages of data on a single screen.

Client support

Newlook Smartclient

Newlook Server

Use

This control is particularly useful when you need to simplify busy host screens, visually group similar items of data or combine the information on multiple screens onto a single screen.

A Tab control consists of one or more TabPage objects in a TabPages collection. You can add, edit or remove TabPages via the TabPages collection editor. Click the prompt button next to the TabPages property to open the Editor. You can change the appearance and behavior of the control and each tab page by setting it's properties. For example, you can associate an ImageList control with the Tab control, and then specify the image to be used on each individual tab page via the ImageIndex property. To add controls to a tab page you can either drag and drop existing host controls onto the relevant tab page or insert new controls.

Material skin considerations

When the material skin is enabled in your solution, tab controls will be rendered according to material design principles. The most noticeable difference is that the default tab control no longer has a border around it. When selected, tab button text will render in the material primary color, unless you specify otherwise.

The following command button properties are ignored when the material skin is enabled: HoverColor Property and SelectedForeColor Property. In addition, for the Alignment Property, only top and bottom are currently supported.

Material skin

Classic skin

Methods

None.

See Also

TabPage object | TabPages collection


© 2004-2021 looksoftware. All rights reserved.