RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomGrid.CalcDrawInfo Method

Calculates the pixel locations of the grid boundaries.

Pascal
procedure CalcDrawInfo(var DrawInfo: TGridDrawInfo);
C++
__fastcall CalcDrawInfo(TGridDrawInfo DrawInfo);

Use CalcDrawInfo to determine the pixel locations of the major grid boundaries in the X and Y directions, including things like the first visible column/row, the last visible column/row, the pixel extent of the fixed column/row, etc. 

 

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