JVCL Help:TJvStringGrid.SetCanvasProperties

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

Search in JVCL Help

 
Search in all projects
 

Summary

Responds when a cell in the grid needs to be drawn.


Pascal

 procedureSetCanvasProperties(AColumn: Longint; ARow: Longint; Rect: TRect; State: TGridDrawState); virtual;


Parameters

Parameters Description
AColumn: Longint Indicate the column index of the cell that is about to be drawn.
ARow: Longint Indicate the row index of the cell that is about to be drawn.
Rect: TRect Indicates the location of the cell on the canvas.
State: TGridDrawState Indicates whether the cell has input focus, whether the cell is selected, and whether the cell is a fixed (nonscrolling) cell.


Description

Do not call SetCanvasProperties. It is called automatically just before TJvStringGrid calls DefaultDrawCell. SetCanvasProperties fires the OnSetCanvasProperties event.


See Also

TJvStringGrid.DefaultDrawCell, TJvStringGrid.OnSetCanvasProperties


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