RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDecisionGrid.MouseDown Method

Starts the drag of a dimension to a new location.

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

MouseDown is called automatically when the user clicks the mouse in a cell of the grid. After calling the inherited method, MouseDown starts a pivot operation if the cell is a dimension label that can be dragged. 

When overriding the MouseDown method, be sure to call the inherited method. 

 

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