Indicate number of columns in a two dimensional group.
Source position: MUIClass.Group.pas line 54
published property TMUIGroup.Columns : Integer |
If you use this tag, the total number of children must be dividable by the number of columns.
The children will be positioned in a two dimensional array, e.g. allowing easy creation of button fields (maybe for calculator).
When MUI layouts two-dimensional groups, it does actually two layout calculations, one for the rows and one the columns. Parameters like weights and dimensions are handled this way:
Actually, there is no difference if you use Columns or Rows.
Examples:
Group.Columns := 2; Label1.Parent := Group; String1.Parent := Group; Label2.Parent := Group; String2.Parent := Group; Label3.Parent := Group; String3.Parent := Group;
|
Number of rows in a two dimensional group. |
|
|
Indicate whether the objects in this group shall be layouted horizontally or vertically. |