Difference between revisions of "TDrawGrid"
From Lazarus wiki
Jump to navigationJump to searchJwdietrich (talk | contribs) (Clarification (the listed properties are in fact shared with TCustomDrawGrid.)) |
Jwdietrich (talk | contribs) (Further clarification) |
||
Line 3: | Line 3: | ||
'''TDrawGrid''' [[image:tdrawgrid.png]] is a component on the [[Additional tab]] of the [[Component Palette]]. A drawgrid provides a tabular display of graphical information. | '''TDrawGrid''' [[image:tdrawgrid.png]] is a component on the [[Additional tab]] of the [[Component Palette]]. A drawgrid provides a tabular display of graphical information. | ||
− | + | Properties that have to be considered when using TDrawGrid include: | |
* ''OnDrawCell(aCol, aRow: Integer; aRect: TRect; aState: TGridDrawState)'': Handler for the basic cell painting event | * ''OnDrawCell(aCol, aRow: Integer; aRect: TRect; aState: TGridDrawState)'': Handler for the basic cell painting event |
Revision as of 11:23, 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.
Properties that have to be considered when using TDrawGrid 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