TTMSFNCRichEditorHorizontalRuler.OnBeforeDrawRightMargin Event
Occurs before the right margin marker is drawn.
API unit family: TMSFNCRichEditorRuler
Declaring type: TTMSFNCRichEditorHorizontalRuler
Inherited from: TTMSFNCRichEditorCustomRuler
Syntax
OnBeforeDrawRightMargin: TTMSFNCRichEditorRulerBeforeDrawMarginEvent;
Parameters
| Name | Description |
|---|---|
Sender |
The object that triggered the event. |
AGraphics |
The graphics context used for drawing. |
AType |
The ruler tab or margin type being drawn. |
AMargin |
The right margin value. |
ARect |
The margin drawing rectangle. |
AAllow |
Set to False to skip drawing the margin marker. |
ADefaultDraw |
Set to False to replace the default margin marker drawing. |