RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomControlBar.MouseUp Method

Handles releasing of a mouse button.

Pascal
procedure MouseUp(Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer); override;
C++
virtual __fastcall MouseUp(TMouseButton Button, TShiftState Shift, int X, int Y);

MouseUp handles the dropping of a control onto the control bar and, once the control (if any) is docked, generates an OnMouseUp event. 

Button indicates which button was released. 

Shift indicates the state of the Alt, Ctrl, and Shift keys and the state of the mouse buttons. 

X and Y are the position where the mouse was released. 

 

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