EAGLE Help

dlgTabPage


Function
Defines a tab page.

Syntax
dlgTabPage(string Title) statement

Description
The dlgTabPage statement defines a tab page with the given Title containing the given statement.

If Title contains an '&', the character following the ampersand will become a hotkey, and when the user hits Alt+hotkey, this tab page will be opened. To have an actual '&' character in the text it has to be escaped.

Tab pages can only be used within a dlgTabWidget.

By default a dlgTabPage contains a dlgVBoxLayout, so a simple tab page doesn't have to worry about the layout.

See also dlgTabWidget, Layout Information, A Complete Example

Example

dlgTabWidget {
  dlgTabPage("Tab &1") {
    dlgLabel("This is page 1");
    }
  dlgTabPage("Tab &2") {
    dlgLabel("This is page 2");
    }
  }

Index Copyright © 2005 CadSoft Computer GmbH