Vcl.WinXCtrls.TRelativePanelControlItem.AlignTopWith

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AlignTopWith: TControl read FAlignTopWith write SetAlignTopWith;

C++

__property Vcl::Controls::TControl* AlignTopWith = {read=FAlignTopWith, write=SetAlignTopWith};

Properties

Type Visibility Source Unit Parent
property published
Vcl.WinXCtrls.pas
Vcl.WinXCtrls.hpp
Vcl.WinXCtrls TRelativePanelControlItem

Description

The top of the associated Control aligns with the top of the sibling control that this property references.

Exceptions

The setter of AlignTopWith may raise any of the following exceptions:

Exception Exception.Message Scenarios

ERelativePanelException

Control is not a sibling within RelativePanel

ERelativePanelException

Control cannot be positioned relative to itself

  • You cannot position a control relative to itself.

For more information on how to use the relative panel, see Using the Relative Panel.

See Also