Class tcustomspacer
Unit
Declaration
type tcustomspacer = class(tscalingwidget)
Description
An invisible-by-default widget acting as a positional link between surrounding widgets: set linkleft/linktop/ linkright/linkbottom to some of the widgets around it, and moving or resizing the spacer repositions those linked widgets to keep the configured dist_* margins (see spaceroptionty for the exact rules).
Hierarchy
- TObject
- tpersistent
- tcomponent
- tmsecomponent
- tactcomponent
- twidget
- tactionwidget
- tactionpublishedwidgetnwr
- tpublishedwidgetnwr
- tpublishedwidget
- tcustomscalingwidget
- tscalingwidget
- tcustomspacer
Overview
Methods
| Protected | procedure loaded; override; |
| Protected | procedure parentwidgetregionchanged(const sender: twidget); override; |
| Public | constructor create(aowner: tcomponent); override; |
Properties
| Public | property linkleft: twidget read flinkleft write setlinkleft; |
| Public | property linktop: twidget read flinktop write setlinktop; |
| Public | property linkright: twidget read flinkright write setlinkright; |
| Public | property linkbottom: twidget read flinkbottom write setlinkbottom; |
| Public | property dist_left: integer read fdist_left
write setdist_left default 0; |
| Public | property dist_top: integer read fdist_top
write setdist_top default 0; |
| Public | property dist_right: integer read fdist_right
write setdist_right default 0; |
| Public | property dist_bottom: integer read fdist_bottom
write setdist_bottom default 0; |
| Public | property options: spaceroptionsty read foptions write foptions default []; |
| Public | property optionswidget default defaultoptionswidgetnofocus; |
| Published | property visible default false; |
Description
Methods
| Protected | procedure loaded; override; |
|
This item has no description. | |
| Protected | procedure parentwidgetregionchanged(const sender: twidget); override; |
|
This item has no description. | |
| Public | constructor create(aowner: tcomponent); override; |
|
This item has no description. | |
Properties
| Public | property linkleft: twidget read flinkleft write setlinkleft; |
|
This item has no description. | |
| Public | property linktop: twidget read flinktop write setlinktop; |
|
This item has no description. | |
| Public | property linkright: twidget read flinkright write setlinkright; |
|
This item has no description. | |
| Public | property linkbottom: twidget read flinkbottom write setlinkbottom; |
|
This item has no description. | |
| Public | property dist_left: integer read fdist_left
write setdist_left default 0; |
|
This item has no description. | |
| Public | property dist_top: integer read fdist_top
write setdist_top default 0; |
|
This item has no description. | |
| Public | property dist_right: integer read fdist_right
write setdist_right default 0; |
|
This item has no description. | |
| Public | property dist_bottom: integer read fdist_bottom
write setdist_bottom default 0; |
|
This item has no description. | |
| Public | property options: spaceroptionsty read foptions write foptions default []; |
|
Links widget positions through its | |
| Public | property optionswidget default defaultoptionswidgetnofocus; |
|
This item has no description. | |
| Published | property visible default false; |
|
This item has no description. | |
Generated by PasDoc 1.0.4.