TTMSFNCTableView.OnBeforeDrawItem Event
Occurs before draw item.
API unit family: TMSFNCTableView
Declaring type: TTMSFNCTableView
Inherited from: TTMSFNCCustomTableView
Syntax
OnBeforeDrawItem: TTMSFNCTableViewBeforeDrawItemEvent;
Parameters
| Name | Description |
|---|---|
Sender |
Object that triggered the event. |
AGraphics |
Graphics context used for drawing. |
ARect |
Rectangle affected by the operation in control coordinates. |
AItem |
Table view item affected by the operation. |
AAllow |
Set to False to cancel the operation or drawing step. |
ADefaultDraw |
Set to False to suppress default drawing. |