[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The TGridLayout class lays out widgets in a grid.
Source position: layouts.inc line 198
type TGridLayout = class(TCustomGridLayout) |
||
published |
||
property Enabled; |
|
|
property ColCount; |
|
|
property RowCount; |
|
|
property ColSpacing; |
|
|
property RowSpacing; |
|
|
property GridPositions; |
|
|
end; |
|
The TGridLayout class lays out widgets in a grid. |
|
| | ||
|
||
| | ||
|
The fpGUI layout system provides a simple and powerful way of specifying the layout of child widgets |
|
| | ||
|
TContainerWidget is an abstract class that defines the interface for containing other widgets |
|
| | ||
|
The TWidget class is the base class of all user interface objects. |
|
| | ||
TComponent |
||
? | ||
TObject |
TGridLayout takes the space made available to it (by its parent layout or by the Parent), divides it up into rows and columns, and puts each widget it manages into the correct cell.
Columns and rows behave identically. A TGridLayout lays out widgets in a two-dimensional grid. Widgets can also occupy multiple cells.
0,0 | 0,1 | 0,2 |
1,0 | 1,1 | 1,2 |
2,0 | 2,1 | 2,2 |