RAD Studio VCL Reference
|
Determines the appearance of the mouse cursor during resizing.
procedure CalcSizingState(X: Integer; Y: Integer; var State: TGridState; var Index: Longint; var SizingPos: Integer; var SizingOfs: Integer; var FixedInfo: TGridDrawInfo); override;
virtual __fastcall CalcSizingState(int X, int Y, TGridState State, Longint Index, int SizingPos, int SizingOfs, TGridDrawInfo FixedInfo);
Use CalcSizingState to determine if the mouse cursor should be changed to a resize or drag cursor based on where the mouse is in the grid. For example, cursor over a grid line, in the fixed cell region, and column resize is enabled = resize cursor.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|