[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Describes the (minimum) spacing around a control.
Source position: controls.pp line 804
type TControlBorderSpacing = class(TPersistent) |
||
protected |
||
procedure Change(); virtual; |
|
Invalidates the control and signals the OnChange event handler. |
function GetOwner; override; |
|
Gets the class where the border spacing values are used. |
public |
||
constructor Create(); |
|
Constructor for the class instance. |
procedure Assign(); override; |
|
Copies property values from the specified persistent object. |
procedure AssignTo(); override; |
|
Copies property value from the class instance to the specified persistent object. |
function IsEqual(); |
|
True when the specified spacing is the same as the current settings in the class instance. |
procedure GetSpaceAround(); virtual; |
|
Returns the bounds with added Around space. |
function GetSideSpace(); |
|
The space on a control side including Around space. |
function GetSpace(); virtual; |
|
Gets the value for the indexed Space property. |
procedure AutoAdjustLayout(); |
|
Automatically adjusts the size of the control using the specified proportions. |
|
The control where the border spacing values are applied. |
|
property Space []: Integer; [rw] |
|
Provides indexed access to the border spacing value for a given anchor side. |
property AroundLeft: Integer; [r] |
|
Total border spacing reserved using the Around and Left properties. |
property AroundTop: Integer; [r] |
|
Total border spacing reserved using the Around and Top properties. |
property AroundRight: Integer; [r] |
|
Total border spacing reserved using the Around and Right properties. |
property AroundBottom: Integer; [r] |
|
Total border spacing reserved using the Around and Bottom properties. |
property ControlLeft: Integer; [r] |
|
Position for the left-hand edge of the associated Control after it has been adjusted for border spacing. |
property ControlTop: Integer; [r] |
|
Position for the top edge of the associated Control after it has been adjusted for border spacing. |
property ControlWidth: Integer; [r] |
|
Total width for the control including border spacing values in Around, Left, and Right. |
property ControlHeight: Integer; [r] |
|
Total height for the control including border spacing values in Around, Top, and Bottom. |
property ControlRight: Integer; [r] |
|
Position for the right-hand edge of the associated Control after it has been adjusted for border spacing. |
property ControlBottom: Integer; [r] |
|
Position for the bottom of the associated Control including assigned border spacing. |
published |
||
property OnChange: TNotifyEvent; [rw] |
|
Event handler signalled when border spacing value(s) have been changed. |
property Left: TSpacingSize; [rws] |
|
The border space on the left edge of the associated control. |
property Top: TSpacingSize; [rws] |
|
The border space on the top edge of the associated control. |
property Right: TSpacingSize; [rws] |
|
The border space on the right edge of the associated control. |
property Bottom: TSpacingSize; [rws] |
|
The border space on the bottom edge of the associated control. |
property Around: TSpacingSize; [rws] |
|
The border space on each of the edges for the associated control. |
property InnerBorder: Integer; [rws] |
|
Space added to the preferred size for the widget. |
property CellAlignHorizontal: TControlCellAlign; [rw] |
|
The horizontal alignment of the associated Control when the control ChildSizing uses a tabular layout. |
property CellAlignVertical: TControlCellAlign; [rw] |
|
The vertical alignment of the associated Control when the control ChildSizing uses a tabular layout. |
end; |
|
Describes the (minimum) spacing around a control. |
|
| | ||
TObject |
TControlBorderSpacing defines the number of pixels reserved as spacing on the various borders for a control. TControlBorderSpacing is the type used to implement the BorderSpacing property in TControl.
See TWinControl.ChildSizing and TControlChildSizing for information about spacing around and between child controls on a control instance.
|
The border space on each of the edges for the associated control. |
|
|
The border space on the bottom edge of the associated control. |
|
|
Space added to the preferred size for the widget. |
|
|
The border space on the left edge of the associated control. |
|
|
The border space on the right edge of the associated control. |
|
|
The border space on the top edge of the associated control. |
|
|
The horizontal alignment of the associated Control when the control ChildSizing uses a tabular layout. |
|
|
The vertical alignment of the associated Control when the control ChildSizing uses a tabular layout. |
|
|
Determines the inner and outer border spacing for this control. |
|
|
Provides settings used to resize and align child controls using a tabular layout. |
CT Web help |
CodeTyphon Studio |