GROUP

Definition

GROUP [id]
{
  [Flags]

  [Sub-elements]
  ...
}

Description

A group is used to place several elements into a tidy grid.

Note
Groups are useful to enable and disable several elements at a time. Just call GeDialog::Enable() with the ID of a group.

Flags

See Dialog Resource for a description of the common flags.

[LAYOUTFLAGS]Layout flags.
[NAME]Name of the group (displayed in the border).
COLUMNS n;Number of columns.
ROWS n;Number of rows.
EQUAL_ROWS;All rows have the same height.
EQUAL_COLS;All columns have the same width.
BORDERSTYLE type;The type of border around the group:
BORDER_GROUP_INStandard border.
BORDER_NONENo border.
BORDER_THIN_INThin border inward.
BORDER_THIN_OUTThin border outward.
BORDER_INNormal border inward.
BORDER_OUTNormal border outward.
BORDER_GROUP_OUTGroup border outside.
BORDER_OUT2Outward border 2.
BORDER_OUT3Outward border 3.
BORDER_BLACKThin black line.
BORDER_GROUP_TOPBorder along the top.
BORDERSIZE l, t, r, b;The border size around the group in pixels. The default value is (0,0,0,0).
SPACE width, height;The space between 2 elements in pixels. The default value is (0,0).

Example

GROUP GROUP_ID
{
  COLUMNS 2;
  SPACE 4,4;
  BORDERSIZE 4,4,4,4;

  // First row
  STATICTEXT { NAME OPTION_A_TEXT; }
  EDITTEXT OPTION_A { SCALE_H; }

  // Second row
  STATICTEXT { NAME OPTION_B_TEXT; }
  EDITTEXT OPTION_B { SCALE_H; }
}

Further Reading