TTMSFNCRichEditorHorizontalRuler.OnBeforeDrawHangingBox Event
Occurs before the hanging indent box is drawn.
API unit family: TMSFNCRichEditorRuler
Declaring type: TTMSFNCRichEditorHorizontalRuler
Inherited from: TTMSFNCRichEditorCustomRuler
Syntax
OnBeforeDrawHangingBox: TTMSFNCRichEditorRulerBeforeDrawHangingBoxEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The object that triggered the event. |
AGraphics |
The graphics context used for drawing. |
AType |
The ruler tab or indent type being drawn. |
APosition |
The ruler position of the hanging box. |
ARect |
The hanging box drawing rectangle. |
AAllow |
Set to False to skip drawing the hanging box. |
ADefaultDraw |
Set to False to replace the default hanging box drawing. |