Skip to main content
Table of Contents

TTMSFNCCustomControlBaseCommon.SetControlMargins Method

Sets the four margin values of the control in one call.

API unit family: TMSFNCCustomControl Declaring type: TTMSFNCCustomControlBaseCommon

Syntax

FMX.TMSFNCCustomControl.hppPascalC++
procedure SetControlMargins(ALeft, ATop, ARight, ABottom: Single);
void __fastcall SetControlMargins(float ALeft, float ATop, float ARight, float ABottom);

Parameters

Name Description
ALeft Left margin in pixels.
ATop Top margin in pixels.
ARight Right margin in pixels.
ABottom Bottom margin in pixels.