[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Controls' (#lcl)

# TControl.BiDiMode

Indicates whether text controls use in bi-directional reading.

## Declaration

Source position: controls.pp line 1834

`public property TControl.BiDiMode : TBiDiMode read FBiDiMode write SetBiDiMode stored IsBiDiModeStored default bdLeftToRight;`

## Description

In "normal" reading mode (left-to-right, LTR) text entry starts at the left, text is almost left justified, and vertical scrollbars sit at the right side of the control.

In right-to-left mode text entry starts at the right, text is almost right justified, and vertical scrollbars sit at the left side of the control.

In a bidirectional environment these different placements and adjustments can be configured (swapped) in various (but not all) ways.

(Allows RTL languages such as Arabic and Hebrew to be used)

Wild guess: The default mode is established by the platform, RTL reading is not supported on all (Windows) platforms.

## See also

TControl.UseRightToLeftAlignment |  | True when BiDiMode is bdRightToLeft.
TControl.UseRightToLeftReading |  | True when BiDiMode is not bdLeftToRight.
TControl.UseRightToLeftScrollBar |  | True when BiDiMode indicates right-to-left reading is in use.
TControl.IsRightToLeft |  | True when BiDiMode is not bdLeftToRight.