TAB [id] { [Flags] GROUP { [1st Page] } GROUP { [2nd Page] } ... }
A tab group is used to group several sub-groups into one, allowing the user to change between them using tabs.
It is possible to use popup buttons or radio buttons instead of tabs. The name of each page's tab is taken from the NAME
flag of the group.
Call GeDialog::SetInt32() and GeDialog::GetInt32() with the sub-group ID to control the active tab.
See Dialog Resource for a description of the common flags.
[LAYOUTFLAGS] | Layout flags. |
SELECTION_NONE; | No tabs. |
SELECTION_TABS; | Normal tabs. |
SELECTION_CYCLE; | Popup buttons instead of tabs. |
SELECTION_RADIO; | Radio buttons instead of tabs. |
TAB TAB_ID { SELECTION_TABS; SCALE_H; GROUP FIRST_TAB { NAME FIRST_TAB_TEXT; SCALE_H; COLUMNS 1; SPACE 4,4; STATICTEXT { NAME FIRST_TAB_TEXT; } } GROUP SECOND_TAB { NAME SECOND_TAB_TEXT; SCALE_H; COLUMNS 2; SPACE 4,4; STATICTEXT { NAME OPTION_TEXT; } EDITNUMBER OPTION { SCALE_H; } } }