Skip to main content

TdxBar.Move(TdxBar,Boolean) Method

Moves the current bar to a new location.

Declaration

procedure Move(ABar: TdxBar; AInsertAfter: Boolean = True); overload;

Parameters

Name Type
ABar TdxBar
AInsertAfter Boolean

Remarks

The first overloaded variant of the method makes the current bar float (see the DockingStyle property) and moves it to the specified location.

X and Y specify the absolute screen coordinates of the bar’s top-left corner.

The second overloaded variant moves the current bar into the specified dock control.

ADockControl specifies the dock control to which the current bar will be moved;

ARow specifies a row in the dock control where the current bar will be placed (see the TdxBar.Row property);

APosition specifies a position of the current bar in ARow.

The third overloaded variant moves the current bar to the specified form’s or user control’s edge.

ADockingStyle specifies the location constraint. If the ADockingStyle parameter is set to dsNone, then no operation is performed;

ARow specifies a row in the dock control where the current bar will be placed (see the TdxBar.Row property);

APosition specifies the position of the current bar in ARow.

The fourth overloaded variant moves the current bar to the dock control where ABar is located.

ABar specifies the bar within which the current bar will be placed;

AInsertAfter specifies how both bars will be arranged in the dock’s row. Set AInsertAfter to True to place the current bar after ABar.

See Also