[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'ExtCtrls' (#lcl)

TCustomControlBar.MoveBand

Performs actions needed when a band is moved to new position.

Declaration

Source position: extctrls.pp line 1579

protected procedure TCustomControlBar.MoveBand(

  AMoveBand: TCtrlBand;

  X: Integer;

  Y: Integer;

  ByMouse: Boolean

);

Description

Determines the new position for a band moved using the mouse or by settings its coordinates. Rearranges adjacent bands (and rows) as needed.