Vcl.Menus.TPopupMenu.UseRightToLeftAlignment
Delphi
function UseRightToLeftAlignment: Boolean;
C++
bool __fastcall UseRightToLeftAlignment(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | TPopupMenu |
Description
Specifies whether the control's alignment is in a right-to-left mode.
Call UseRightToLeftAlignment to determine whether the control's alignment is in a right-to-left mode. This information can be used when painting the control or when responding to mouse events.
UseRightToLeftAlignment returns the setting from the control that activated the popup. If the popup was not activated by a control, UseRightToLeftAlignment returns the setting used in the global Application object.