[Overview][Constants][Types][Classes][Procedures and functions][Index] |
Event handler signalled to prepare the grid canvas for drawing a cell.
Source position: dbgrids.pas line 538
protected property TCustomDBGrid.OnPrepareCanvas : TPrepareDbGridCanvasEvent |
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.