RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBRichEdit.UseRightToLeftAlignment Method

Specifies whether the control's alignment is in a right-to-left mode.

Pascal
function UseRightToLeftAlignment: Boolean; override;
C++
virtual __fastcall Boolean UseRightToLeftAlignment();

Call UseRightToLeftAlignment to determine whether the TDBRichEdit's alignment is in a right-to-left mode. This information can be used when painting the TDBRichEdit data or when responding to mouse events. 

UseRightToLeftAlignment returns true for middle east locales if the BiDiMode property is bdRightToLeft. Otherwise, it returns false. 

 

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