JVCL Help:TJvTFDays.CellRect

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Calculates the visible bounding rect of a cell.


Pascal

 functionCellRect(Col: Integer; Row: Integer): TRect;


Parameters

Parameters Description
Col: Integer Column of cell.
Row: Integer Row of cell.


Return Value

The visible bounding rect.


Description

This method will return the bounding rectangle for the cell located at (Col, Row). The coordinates returned re relative to the control. Col and Row may be set -1 (gcHdr) to retrieve header information or to -2 (gcGroupHdr) to retrieve group header information . Any cells that do not fully appear in the grid are clipped so that all points within the resultant rectangle fall within the visible area of the grid.
Use VirtualCellRect to return a rectangle that is not clipped by the visible area of the grid.


See Also

TJvTFDays.VirtualCellRect


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page