Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.Margins

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Margins: TMargins read FMargins write SetMargins;

C++

__property TMargins* Margins = {read=FMargins, write=SetMargins};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

Specifies the margins of the control.

Use the Margins property to set the margins of 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 Examples


Personal tools
In Other Languages
Previous Versions
Assistance