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

TControl.BiDiMode

Customization (of text controls) in bidirectional reading environments.

Declaration

Source position: controls.pp line 1686

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 scrollbars appear at the left side of the control.

TControl.IsRightToLeft

  

True when BiDiMode is not bdLeftToRight.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.