FMX.Controls.TControl.Left

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Left: Single read FLeft write SetLeft;

C++

__property float Left = {read=FLeft, write=SetLeft};

Properties

Type Visibility Source Unit Parent
property protected
FMX.Controls.pas
FMX.Controls.hpp
FMX.Controls TControl

Description

Specifies the horizontal coordinate of the left edge of a component, relative to its parent.

The Left property is used to determine where the left side of the control begins or to reposition the left side of the control. This property is maintained separately and internally synchronized for layout and anchoring purposes.

If the control is contained in another control, the Left and Top properties are relative to the parent control. If the control is contained directly by the form, the property values are relative to the form. For forms, the value of the Left property is relative to the screen, in pixels.

However, the Left and Top properties in FMX do not directly correspond to the control’s actual screen position. In FMX, the true geometric position of a control is defined by its Position.X and Position.Y properties.

Use Position in applications to allow read and write access.

See Also