Vcl.Menus.TPopupAlignment
Delphi
TPopupAlignment = (paLeft, paRight, paCenter);
C++
enum DECLSPEC_DENUM TPopupAlignment : unsigned char { paLeft, paRight, paCenter };
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
enum | public | Vcl.Menus.pas Vcl.Menus.hpp |
Vcl.Menus | Vcl.Menus |
Description
TPopupAlignment represents the position of a pop-up menu relative to the mouse.
These are the possible values:
Value | Meaning |
---|---|
paLeft |
The pop-up menu appears with its upper-left corner under the mouse. |
paCenter |
The pop-up menu appears with the upper center of the menu under the mouse. |
paRight |
The pop-up menu appears with its upper-right corner under the mouse. |