RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPopupMenu.Alignment Property

Determines where the pop-up menu appears when the user clicks the right mouse button.

Pascal
property Alignment: TPopupAlignment;
C++
__property TPopupAlignment Alignment;

Set Alignment to control the placement of the popup menu. Alignment controls whether the menu appears to the left of the mouse, to the right of the mouse, or centered over the mouse. 

By default, the menu appears with its top left corner under the mouse (paLeft). 

 

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