Admin Production ni-theme
Current Publication

Operating Tab Controls

LabWindows/CVI

Operating Tab Controls

When you set a tab control to any mode other than indicator mode, you can use the keyboard and mouse to interact with the tab control and the controls on the tab control. Interactions with the tab control do not generate commit events.

To select a page from the tab control, click the tab. Selecting a tab makes the tab page active, and you can interact with all of the controls on that tab page. LabWindows/CVI automatically includes the controls on the active page of the tab control when you tab through the controls on the parent panel.

You also can use the keyboard to select tabs. Use the arrow keys to move between tabs. The left and right arrow keys move through tabs located on the top and bottom sides of the tab control; the up and down arrow keys move through tabs located on the left and right sides of the tab control. You also can change the active tab by pressing <Ctrl-Tab> or <Ctrl-Shift-Tab> when the keyboard focus is on a control in a tab page or when the focus is on the tab control itself. If you assigned an accelerator key to the tab, you can press <Alt> plus the underlined letter to select the tab.

If you select Multiple Rows as the Tabs Fit Mode, selecting a tab on any row besides the first row moves the entire row that contains that tab to the first row.

To create controls on a tab page, you can right-click inside the tab page to access the Controls palette. You also can right-click the panel, select a control, and then copy or cut and paste the control onto the tab page.

You can edit the tab order of the controls within a page by selecting Tab Order in the Edit Tab dialog box. You also can click inside the tab control and select Edit»Tab Order

To drag a tab control in the User Interface Editor, click the the active tab or click the empty space past the last tab.