TGridDataCache record
Stores cached information about a grid control.
Declaration
TGridDataCache = recordDescription
TGridDataCache is a record type used to store and cache
information about a grid control, its layout, and activity. TGridDataCache is
the type used to implement the
GCache property in
TCustomGrid.
See also
Fields
FixedWidth | Sum of the column widths for fixed cells in a grid. | |
FixedHeight | Sum of the row heights for fixed cells in a grid. | |
GridWidth | Sum of the column widths for all cells in a grid. | |
GridHeight | Sum of the row heights for all cells in a grid. | |
ClientWidth | Width of the grid control minus the width for the vertical scroll bar. | |
ClientHeight | Height of the grid control minus the width of the horizontal scroll bar. | |
ClientRect | ||
ScrollWidth | The difference between ClientWidth and FixedWidth. | |
ScrollHeight | The difference between ClientHeight and FixedHeight. | |
HScrollBarNetRange | Difference between the scroll bar range and the grid page size. | |
VisibleGrid | Visible non-fixed cell coordinates rectangle. | |
MaxClientXY | Bottom/Right coordinates in (pixels) for the visible parts of a grid. | |
ValidRows | True when there are no fixed columns to display in a grid. | |
ValidCols | True when there are no fixed rows to display in the grid. | |
ValidGrid | True when there are no fixed cells for columns or rows in a grid. | |
AccumWidth | Cumulative preceding width per grid column. | |
AccumHeight | Cumulative preceding height per grid row. | |
TLColOff | Offset in pixels for the Top/Left column in a grid. | |
TLRowOff | Offset in pixels for the Top/Left row in a grid. | |
MaxTopLeft | Cell coordinates for the last cell that can be used as the grid visual origin. | |
MaxTLOffset | Max Top left offset for the last cell in the grid. | |
HotCell | The current "hot" cell in the grid. | |
HotCellPainted | True if the current "hot" cell has already been painted. | |
HotGridZone | GridZone for the last MouseMove. | |
ClickCell | Cell coordinates for the last mouse click event. | |
ClickMouse | Mouse coordinates for the last mouse click event. | |
PushedCell | Cell coordinates for the cell drawn in the pushed state. | |
PushedMouse | Mouse Coordinates for the cell drawn in the pushed state. | |
ClickCellPushed | Indicates if the header cell is currently drawn in the pushed state. | |
FullVisibleGrid | Visible cells excluding partially visible cells. | |
MouseCell | Cell which contains the mouse pointer. | |
OldMaxTopLeft | Previous MaxTopleft (before column sizing). |
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
