RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomControlBar.DoBandMove Method

Generates an OnBandMove event.

Pascal
procedure DoBandMove(Control: TControl; var ARect: TRect); virtual;
C++
virtual __fastcall DoBandMove(TControl * Control, TRect ARect);

Do not call DoBandMove. It is called automatically when a band is moved in the control bar.  

Control is the band that is about to be moved. 

ARect is the area to which the control is about to be moved. This value can be changed by the OnBandMove event handler. 

Override DoBandMove to perform actions in addition to calling the OnBandMove event handler when a band is moved. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!