RAD Studio VCL Reference
TControl.UseRightToLeftReading Method

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

function UseRightToLeftReading: Boolean;
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!