RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPopupMenu.UseRightToLeftAlignment Method

Specifies whether the control's alignment is in a right-to-left mode.

Pascal
function UseRightToLeftAlignment: Boolean;
C++
__fastcall Boolean UseRightToLeftAlignment();

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!