Difference between revisions of "TDrawGrid"
From Lazarus wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) (Slightly expanding the explanation of TDrawGrid.) |
Jwdietrich (talk | contribs) (Adding parameters) |
||
Line 5: | Line 5: | ||
Special properties of TDrawGrid that distinguish it from other grid types include: | Special properties of TDrawGrid that distinguish it from other grid types include: | ||
− | * ''OnDrawCell'': Handler for the basic cell painting event | + | * ''OnDrawCell(aCol, aRow: Integer; aRect: TRect; aState: TGridDrawState)'': Handler for the basic cell painting event |
* ''DefaultDrawing'': a boolean property deciding whether or not ''OnDrawCell'' has to handle the entire code for cell painting. | * ''DefaultDrawing'': a boolean property deciding whether or not ''OnDrawCell'' has to handle the entire code for cell painting. | ||
Revision as of 11:05, 20 October 2020
│
English (en) │
français (fr) │
русский (ru) │
TDrawGrid is a component on the Additional tab of the Component Palette. A drawgrid provides a tabular display of graphical information.
Special properties of TDrawGrid that distinguish it from other grid types include:
- OnDrawCell(aCol, aRow: Integer; aRect: TRect; aState: TGridDrawState): Handler for the basic cell painting event
- DefaultDrawing: a boolean property deciding whether or not OnDrawCell has to handle the entire code for cell painting.
See also