Vcl.Controls.TControl.UseRightToLeftReading

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function UseRightToLeftReading: Boolean;

C++

bool __fastcall UseRightToLeftReading();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControl

Description

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

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 false otherwise.

See Also