System.Classes.TBiDiMode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TBiDiMode = (bdLeftToRight, bdRightToLeft, bdRightToLeftNoAlign,
bdRightToLeftReadingOnly);

C++

enum DECLSPEC_DENUM TBiDiMode : unsigned char { bdLeftToRight, bdRightToLeft, bdRightToLeftNoAlign, bdRightToLeftReadingOnly };

Properties

Type Visibility Source Unit Parent
enum public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TBiDiMode specifies the reading order (bidirectional mode) of a control.

TBiDiMode determines the reading order of the text, placement of the vertical scrollbar, and any alignment modifications. It is used to tailor the user interface for locales where text is bi-directional.

The following table describes the possible values:



Value Meaning

bdLeftToRight

Reading order is left to right. Alignment is not changed. The vertical scroll bar appears on the right edge of the control.

bdRightToLeft

Reading order is right to left. Alignment is changed. The vertical scroll bar appears on the left edge of the control.

bdRightToLeftNoAlign

Reading order is right to left. Alignment is not changed. The vertical scroll bar appears on the left edge of the control.

bdRightToLeftReadingOnly

Reading order is right to left. Alignment and scroll bar are not changed.