RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomControlBar.OnBandDrag Event

Occurs when the user starts a drag operation on a specified control.

Pascal
property OnBandDrag: TBandDragEvent;
C++
__property TBandDragEvent OnBandDrag;

Use OnBandDrag to conditionally allow the user to start dragging a control in the control bar. 

The event handler indicates the control that the user is trying to drag. Change its Drag parameter to false to prevent the drag operation. If Drag remains true on exit from the event handler, the drag operation proceeds. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!