RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomDecisionGrid.MouseUp Method

Rearranges the dimensions after a pivot and updates the decision source.

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 is called automatically when the user releases the mouse. After calling the inherited method, MouseUp checks whether a dimension was just dragged to a new location. If a dimension was just moved, MouseUp changes the Dimensions property appropriately and updates the decision source to reflect the new configuration. 

When overriding the MouseUp 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!