From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property Top: Single read FTop write SetTop;


__property float Top = {read=FTop, write=SetTop};


Type Visibility Source Unit Parent
property protected
FMX.Controls TControl


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.

See Also