[Properties (by Name)] [Methods (by Name)]
A tcustomspacer descendant that auto-arranges its contained widgets; layouters can be nested for complex layouts
Source position: msesplitter.pas line 403
type tcustomlayouter = class(tcustomspacer) |
public |
constructor create(); override; |
property optionslayout: layoutoptionsty; [rw] |
property align_mode: widgetalignmodety; [rw] |
property align_leader: twidget; [rw] |
property align_glue: widgetalignmodety; [rw] |
property place_mindist: Integer; [rw] |
property place_maxdist: Integer; [rw] |
property place_mode: widgetalignmodety; [rw] |
property place_options: placeoptionsty; [rw] |
property onbeforelayout: layoutereventty; [rw] |
property onafterlayout: layoutereventty; [rw] |
published |
property visible: Boolean; |
property optionswidget: optionswidgetty; |
end; |
|
A tcustomspacer descendant that auto-arranges its contained widgets; layouters can be nested for complex layouts |
|
| | | ||
|
An invisible-by-default widget acting as a positional link between surrounding widgets |
|
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
| | | ||
|
Extends the FPC tcomponent with object linking facilities and the like; base of every MSEgui component |
|
| | | ||
tcomponent,ievent,iificommand,iificlient |
||
| | | ||
| | | ||
TObject |
A tcustomspacer descendant that auto-arranges its contained widgets; layouters can be nested for complex layouts. optionslayout combines, independently for each axis, a sync step — normalizing the widgets' sizes/caption room before arranging them, e.g. lao_syncmaxautosize (autosize then match every widget's client area to the largest one), lao_syncpaintwidth/lao_syncpaintheight (match outer frame width/height) or lao_synccaptiondistx/ lao_synccaptiondisty (match frame caption room) — with one of two arrangement modes: place (lao_placex/lao_placey), which spaces the widgets out (in decreasing widgetrect.x/.y order) at a distance between place_mindist and place_maxdist, following place_mode (wam_start/wam_end/ wam_center) and place_options (plo_propmargin distributes the distances as outer margins too, plo_endmargin lets one widget absorb the remaining space, plo_noinvisible skips room for invisible widgets, plo_scalesize/ plo_scalefullref scale the widgets to fit); and align (lao_alignx/lao_aligny), which snaps the other widgets' matching border (or axis, for wam_center) to that of align_leader (defaults to widgets[0]) according to align_mode, then optionally glues the whole aligned group to an edge of the layouter's client area via align_glue.