RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomControlBar.OnBandMove Event

Occurs when a control band is moving.

Pascal
property OnBandMove: TBandMoveEvent;
C++
__property TBandMoveEvent OnBandMove;

Write an OnBandMove event handler to perform actions when a band is moving. 

Use OnBandMove to specify the destination rectangle for the band. For example, adjust the destination rectangle so that its right edge matches the right edge of the control bar. This means the control extends to the control bar's right edge no matter where it is moved. 

 

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