[Overview][Resource strings][Constants][Types][Classes][Procedures and functions] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
The fpGUI layout system provides a simple and powerful way of specifying the layout of child widgets
Source position: layouts.inc line 48
type TLayout = class(TContainerWidget) |
||
protected |
||
FWidgets: TCollection; |
|
|
FBorderSpacing: Integer; |
|
|
IsRecalcingLayout: Boolean; |
|
|
function GetChildCount; override; |
|
|
function GetChild(); override; |
|
|
procedure AddFixedChild(); |
|
|
property BorderSpacing: Integer; [rw] |
|
|
public |
||
constructor Create(); override; |
|
|
destructor Destroy; override; |
|
|
function ContainsChild(); override; |
|
|
end; |
|
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 |
The fpGUI layout system provides a simple and powerful way of specifying the layout of child widgets.
By specifying the logical layout once, you get the following benefits:
Automatic update when contents change:
|
Lays out widgets in a horizontal or vertical position. |
|
|
The TGridLayout class lays out widgets in a grid. |
|
|
||
|
The TFixedLayout allows you to arrange widgets at set x and y co-ordinates |