Skip to main content
Table of Contents

TTMSFNCDirectoryEdit.SetBounds Method

Sets the bounds of the directory edit and updates the label and button layout.

API unit family: TMSFNCDirectoryEdit Declaring type: TTMSFNCDirectoryEdit Inherited from: TTMSFNCCustomDirectoryEdit

Overloads

Overload 1

Sets the bounds of the directory edit and updates the label and button layout.

FMX.TMSFNCDirectoryEdit.hppPascalC++
procedure SetBounds(X, Y, AWidth, AHeight: Single); override;
virtual void __fastcall SetBounds(float X, float Y, float AWidth, float AHeight);

Parameters

Name Description
X Left coordinate in pixels.
Y Top coordinate in pixels.
AWidth New width in pixels.
AHeight New height in pixels.

Overload 2

Sets the bounds of the directory edit and updates the label and button layout.

FMX.TMSFNCDirectoryEdit.hppPascalC++
procedure SetBounds(X, Y, AWidth, AHeight: Integer); override;
virtual void __fastcall SetBounds(float X, float Y, float AWidth, float AHeight);

Parameters

Name Description
X Left coordinate in pixels.
Y Top coordinate in pixels.
AWidth New width in pixels.
AHeight New height in pixels.