Applies to

RichTextEdit controls


When the RulerBar property is enabled, a ruler bar appears above the editing area of the control. The user can use it to set tabs and margins on the tab bar.

The ruler bar can also be enabled and disabled by the user at runtime from the Properties item on the pop-up menu, if the PopMenu property of the control has been set to true.


In a painter

To make the ruler bar visible:

  • Select the Ruler Bar check box on the Document tab page of the control's Properties view.

In scripts

The RulerBar property takes a boolean value.

The following line makes the ruler bar appear in a RichTextEdit:

rte_1.RulerBar = TRUE