RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.TBiDiMode Enumeration

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

Pascal
TBiDiMode = (
  bdLeftToRight,
  bdRightToLeft,
  bdRightToLeftNoAlign,
  bdRightToLeftReadingOnly
);
C++
enum TBiDiMode {
  bdLeftToRight,
  bdRightToLeft,
  bdRightToLeftNoAlign,
  bdRightToLeftReadingOnly
};

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!