FMX.Controls.TControl.Top
Delphi
property Top: Single read FTop write SetTop;
C++
__property float Top = {read=FTop, write=SetTop};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TControl |
Description
Specifies the vertical coordinate of the upper-left corner of a control, relative to its parent, in pixels.
The Top property is used to locate the top of the control or to reposition the control to a different Y coordinate.
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 Top property is relative to the screen, in pixels.
Use Position in applications to allow read and write access.