TrvActionTextRTL

Properties   Methods

<< Click to display table of contents >>

TrvActionTextRTL

Properties   Methods

TrvActionTextRTL is the action for "Right to Left Text" command.

Unit RichViewActions;

Syntax

TrvActionTextRTL = class(TrvActionTextBiDi)

hmtoggle_arrow1Hierarchy

Description

This action changes the default text direction in the selected text to right-to-left. If you use this action, it's recommended to set TCustomRichViewEdit.BiDiMode to rvbdLeftToRight or rvbdRightToLeft.

This action does not introduce any new properties in addition to properties of TrvAction.

This action changes BiDiMode property for styles of the selected text (RVStyle.TextStyles[].BiDiMode) to rvbdRightToLeft.

This is a checkbox-like action, its Checked property is updated depending on the state of selection (or the current text style).

See also:

TrvActionTextLTR

TrvActionParaLTR

TrvActionParaRTL