RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.IsRightToLeft Method

Indicates whether the control should be reversed right to left.

Pascal
function IsRightToLeft: Boolean;
C++
__fastcall Boolean IsRightToLeft();

Use IsRightToLeft to determine whether the control should be reversed in any way because it is running on a system with a Middle Eastern locale. IsRightToLeft is intended for component writers to ease the process of implementing the BiDiMode property. 

IsRightToLeft returns true if the application is running on a Middle East-enabled version of Windows and the BiDiMode property indicates that the control should make any adjustments. 

 

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