RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBMemo.UseRightToLeftAlignment Method

Specifies whether the control's alignment should be reversed right-to-left.

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

Controls call UseRightToLeftAlignment when implementing the BiDiMode property. UseRightToLeftAlignment indicates whether the control's alignment should be reversed right-to-left. This information can be used when painting the control or when responding to mouse events. 

UseRightToLeftAlignment returns true if the application is running on a system with a Middle Eastern locale and the BiDiMode property is bdRightToLeft. Otherwise, it returns false. Descendants override UseRightToLeftAlignment if alignment in Middle Eastern locales depends on other factors. 

 

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