Show: Delphi C++
Display Preferences

Vcl.Controls.TControl.UseRightToLeftAlignment

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function UseRightToLeftAlignment: Boolean; dynamic;

C++

DYNAMIC bool __fastcall UseRightToLeftAlignment();

Properties

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

Description

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

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.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance