TTMSFNCCustomControlBeforeDrawEvent Event Type
Signature of the
OnBeforeDrawevent. SetADefaultDrawtoFalseto suppress the built-in background painting and handle all drawing yourself.
API unit family: TMSFNCCustomControl
Parameters
| Name | Description |
|---|---|
Sender |
Object that raises the event. |
AGraphics |
Graphics context used for drawing. |
ARect |
Target drawing rectangle. |
ADefaultDraw |
Set to False to skip the built-in drawing. |