TDBGrid.OnPrepareCanvas property
Event handler signalled to prepare the grid canvas for drawing a cell.
Declaration
property OnPrepareCanvas:;Description
OnPrepareCanvas is a
TPrepareDbGridCanvasEvent property
that implements the event handler signalled to prepare the Canvas for drawing
a cell in the grid. OnPrepareCanvas allows the application to provide custom
settings in the Canvas for the Grid control. The
Sender argument
is the grid control, and can be used to access the Canvas or other properties
in the component. Assign a procedure to the event handler to respond to the
event notification.
OnPrepareCanvas is signalled from the DoPrepareCanvas method, and occurs when the row is not one of the FixedRows for the grid control.
This description is the one of DBGrids.TCustomDBGrid.OnPrepareCanvas.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
