Vcl.WinXCtrls.TRelativePanelControlItem.AlignRightWith

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AlignRightWith: TControl read FAlignRightWith write SetAlignRightWith;

C++

__property Vcl::Controls::TControl* AlignRightWith = {read=FAlignRightWith, write=SetAlignRightWith};

Properties

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

Description

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

Exceptions

The setter of AlignRightWith 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