Vcl.DBCtrls.TCustomDBLookupComboBox.UseRightToLeftAlignment

From RAD Studio API Documentation

Delphi

function UseRightToLeftAlignment: Boolean; override;

C++

DYNAMIC bool __fastcall UseRightToLeftAlignment(void);

Properties

Type Visibility Source Unit Parent
function public
Vcl.DBCtrls.pas
Vcl.DBCtrls.hpp
Vcl.DBCtrls TCustomDBLookupComboBox

Description

Specifies whether the control's alignment should be reversed right-to-left. {{#multireplace:Vcl.DBCtrls.TCustomDBLookupComboBox.UseRightToLeftAlignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.Controls.TControl.UseRightToLeftAlignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.Controls.TControl.UseRightToLeftAlignment|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.

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