Table of Contents

TTMSFNCRichEditorHorizontalRuler Class

Displays a horizontal ruler for editing rich editor margins, indents, tick marks, and tab stops.

API unit family: TMSFNCRichEditorRuler Inherits from: TTMSFNCRichEditorCustomRuler

Syntax

TTMSFNCRichEditorHorizontalRuler = class(TTMSFNCRichEditorCustomRuler)

Properties

Name Description
Appearance Configures horizontal ruler colors, fonts, strokes, fills, and indicator bitmaps.
HangingIndent Specifies the hanging indent position in ruler units. (inherited from TTMSFNCRichEditorCustomRuler)
Layout Configures horizontal ruler placement, margins, padding, tab movement, and tick mark settings.
LeftIndent Specifies the left indent position in ruler units. (inherited from TTMSFNCRichEditorCustomRuler)
RichEditor Specifies the rich editor synchronized with the ruler. (inherited from TTMSFNCRichEditorCustomRuler)
RightIndent Specifies the right indent position in ruler units. (inherited from TTMSFNCRichEditorCustomRuler)
Tabs Contains the tab stops displayed and edited by the ruler. (inherited from TTMSFNCRichEditorCustomRuler)

Methods

Name Description
Draw Draws the ruler. (inherited from TTMSFNCRichEditorCustomRuler)
UpdateRichEditor Synchronizes ruler margins, indents, and tabs with the assigned rich editor. (inherited from TTMSFNCRichEditorCustomRuler)

Events

Name Description
OnAfterDrawHangingBox Occurs after the hanging indent box is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnAfterDrawHangingIndent Occurs after the hanging indent marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnAfterDrawLeftIndent Occurs after the left indent marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnAfterDrawLeftMargin Occurs after the left margin marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnAfterDrawRightIndent Occurs after the right indent marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnAfterDrawRightMargin Occurs after the right margin marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnAfterDrawTickLabel Occurs after a tick label is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnAppearanceChanged Occurs when appearance settings change. (inherited from TTMSFNCRichEditorCustomRuler)
OnBeforeDrawHangingBox Occurs before the hanging indent box is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnBeforeDrawHangingIndent Occurs before the hanging indent marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnBeforeDrawLeftIndent Occurs before the left indent marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnBeforeDrawLeftMargin Occurs before the left margin marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnBeforeDrawRightIndent Occurs before the right indent marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnBeforeDrawRightMargin Occurs before the right margin marker is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnBeforeDrawTickLabel Occurs before a tick label is drawn. (inherited from TTMSFNCRichEditorCustomRuler)
OnHangingIndentChange Occurs before the hanging indent value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnHangingIndentChanged Occurs after the hanging indent value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnLayoutChanged Occurs when layout settings change. (inherited from TTMSFNCRichEditorCustomRuler)
OnLeftIndentChange Occurs before the left indent value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnLeftIndentChanged Occurs after the left indent value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnLeftMarginChange Occurs before the left margin value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnLeftMarginChanged Occurs after the left margin value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnRightIndentChange Occurs before the right indent value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnRightIndentChanged Occurs after the right indent value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnRightMarginChange Occurs before the right margin value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnRightMarginChanged Occurs after the right margin value changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnTabAdded Occurs after a tab stop is added. (inherited from TTMSFNCRichEditorCustomRuler)
OnTabChange Occurs before a tab stop changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnTabChanged Occurs after a tab stop changes. (inherited from TTMSFNCRichEditorCustomRuler)
OnTabRemove Occurs before a tab stop is removed. (inherited from TTMSFNCRichEditorCustomRuler)
OnTickMarksChanged Occurs when tick mark settings change. (inherited from TTMSFNCRichEditorCustomRuler)

Used by