RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Menus.TPopupAlignment Enumeration

TPopupAlignment represents the position of a popup menu relative to the mouse.

Pascal
TPopupAlignment = (
  paLeft,
  paRight,
  paCenter
);
C++
enum TPopupAlignment {
  paLeft,
  paRight,
  paCenter
};

Menus

These are the possible values:

Value 
Meaning 
paLeft  
The pop-up menu appears with its top left corner under the mouse.  
paCenter  
The pop-up menu appears with the top center of the menu under the mouse.  
paRight  
The pop-up menu appears with its top right corner under the mouse.  

 

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