shellproperties MenuAlignment property
Return to Introduction  Previous page  Next page
Applies to
dcShellProperties component.  

Declaration
type  
  TPopupAlignment = (paLeft, paRight, paCenter);  
 
property MenuAlignment: TPopupAlignment;  

Description
The MenuAlignment determines where the context pop-up menu appears when the user clicks the right mouse button.  
 
Set MenuAlignment to control the placement of the popup menu. These are the possible values:  
ValueMeaning  
paLeftThe pop-up menu appears with its top left corner under the mouse pointer.  
paCenterThe pop-up menu appears with the top center of the menu under the mouse pointer.  
paRightThe pop-up menu appears with its top right corner under the mouse pointer.  
 
iiinfo The default value is paLeft.  

See also
MenuOptions property.