RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.UseRightToLeftReading Method

Specifies whether the control is using a right-to-left reading order.

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

Controls call UseRightToLeftReading when implementing the BiDiMode property. UseRightToLeftReading indicates whether the control's text should read from right to left. This information can be used to determine which style flags to set for the control when it is created and which flags to set for drawing text. 

UseRightToLeftReading returns true if the application is running on a system with a Middle Eastern locale and the BiDiMode property is not bdLeftToRight. UseRightToLeftReading returns falseotherwise. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!