Creating a Tab control

The word tab has several meanings. Some are:

Koda resolves this issue by calling a member of a Tab control a Page.

Adding a Tab control to a Form is like adding any other control:

  1. Click on the Tab control icon in the Palette
  2. In the Design Area, drag and drop to define the area for the Tab control

To add a Page to a Tab control:

  1. Click on the Tab control in Object Treeview to select it
  2. With the cursor still over the Tab control in Object Treeview, right-click
  3. Choose New page. Object Treeview shows the Page as a child of the Tab control.

To add any other control to a Page:

To delete a Page from a Tab control:

  1. Click on the Page in Object Treeview to select it
  2. With the cursor still over the Tab control in Object Treeview, right-click and choose Delete. Object Treeview shows that the Page has been deleted.

It is also possible to select a Page in the design area, but it takes a little care:

To select a Tab control as a whole, either:

A Page of a Tab control is a container. Even though it is not a control, it shares some behaviors with [container_control]]:

To move a Page with a particular Caption to the left, select the Page and press the Alt+← key. To move it to the right, select the Page and press the Alt+→ key.

To change which page shows when the generated script is run, select the control and press either the Alt+← key or the Alt+→ key until controls on the desired Page are shown.

AutoIt limits Tab controls to one per Form.