Controls.TControl.Margins
From RAD Studio VCL Reference
Contents |
Delphi Information
From Controls.pas
property Margins: TMargins read FMargins write SetMargins;
Unit: Controls
Type: property
Visibility: published
Member Of: TControl
C++ Information
From Controls.hpp
__property Controls::TMargins * Margins = {read=FMargins,write=SetMargins};
Unit: Controls
Type: property
Visibility: public
Member Of: TControl
Description
Specifies the margins for the control.
Use the Margins property to set the margins for the control.
If AlignWithMargins is true, then the Margins property of the control governs the spacing relative to other controls that are aligned with this one. The controls are not allowed to be closer than the spacing specified in Margins.
Note: The Margins you set for the control have effect only when AlignWithMargins is set to true and Align is not set to alNone.
See Also
Code Samples