EAGLE Help Light

dlgTabPage

Funkce
Defines a tab page.

Zápis
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.

Viz také dlgTabWidget, Layout Information, A Complete Example

Příklad


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


OBSAH Translation © 2001 ELCAD v.o.s., Copyright © 2001 CadSoft Computer GmbH