Table of Contents

TTMSFNCCustomControl.GetControlMargins Method

Returns the four margin values of the control.

API unit family: TMSFNCCustomControl Declaring type: TTMSFNCCustomControl Inherited from: TTMSFNCCustomControlBaseCommon

Syntax

procedure GetControlMargins(var ALeft, ATop, ARight, ABottom: Single);

Parameters

Name Description
ALeft Receives the left margin in pixels.
ATop Receives the top margin in pixels.
ARight Receives the right margin in pixels.
ABottom Receives the bottom margin in pixels.