Skip to content

TTMSFNCRichEditorHorizontalRuler

TTMSFNCUIPack144

TTMSFNCRichEditor has a ruler control that can be connected to it. This control has the intuitive handling that you are familiar with from the advanced text editors. With this ruler you can easily set a left and right margin. Set indents and add tabs to give a better structure to your text. With the addition of the outlining, the look of the document will get to a higher level.

Properties

Property name Description
Appearance Property for various appearance settings for the ruler, indents, margins tabs and tickmarks.
Layout Can be used to set the margins, which indents to show and the tickmark settings.
Levels Collection that can be used to change the progress on specific values. Each TTMSFNCProgressBarLevel has an active font, fill, stroke and LevelPosition.
RichEditor The TTMSFNCRichEditor which is linked to the ruler.
LeftIndent The position of the left indent based on the left margin.
RightIndent The position of the right indent based on the right margin (from right to left).
Tabs Collection of the tabs. (These have an Indent property.)

Events

Event name Description
OnBeforeDrawHangingBox Event triggered before drawing the box of the hanging indent.
OnAfterDrawHangingBox Event triggered after drawing the box of the hanging indent.
OnBeforeDrawHangingIndent Event triggered before drawing the hanging indent.
OnAfterDrawHangingIndent Event triggered after drawing the hanging indent.
OnBeforeDrawLeftIndent Event triggered before drawing the left indent.
OnAfterDrawLeftIndent Event triggered after drawing the left indent.
OnBeforeDrawRightIndent Event triggered before drawing the right indent.
OnAfterDrawRightIndent Event triggered after drawing the right indent.
OnBeforeDrawLeftMargin Event triggered before drawing the left margin.
OnAfterDrawLeftMargin Event triggered after drawing the left margin.
OnBeforeDrawRightMargin Event triggered before drawing the right margin.
OnAfterDrawRightMargin Event triggered after drawing the right margin.
OnBeforeDrawTickLabel Event triggered before drawing a tickmark label.
OnAfterDrawTickLabel Event triggered after drawing a tickmark label.
OnAppearanceChanged Event triggered when one of the Appereance properties is changed.
OnLayoutChanged Event triggered when one of the Layout properties is changed.
OnTickMarksChanged Event triggered when one of the TickMarks properties is changed.
OnHangingIndentChange Event called before the hanging indent will change.
OnHangingIndentChanged Event called when the hanging indent was changed.
OnLeftIndentChange Event called before the left indent will change.
OnLeftIndentChanged Event called when the left indent was changed.
OnRightIndentChange Event called before the right indent will change.
OnRightIndentChanged Event called when the right indent was changed.
OnLeftMarginChange Event called before the left margin will change.
OnLeftMarginChanged Event called when the left margin was changed.
OnTabChange Event called before a tab indent will change.
OnTabChanged Event called when a tab indent was changed.
OnTabAdded Event called when a tab was added to the collection.
OnTabRemoved Event called when was removed from the collection.