Skip to content

MenuControlConstants

Alignment and trigger-button flags for the PopupMenu method.

Alignment

ConstantValueDescription
vbPopupMenuLeftAlign0The popup is positioned with its left edge at x.
vbPopupMenuCenterAlign4The popup is positioned centred on x.
vbPopupMenuRightAlign8The popup is positioned with its right edge at x.

Activation button

ConstantValueDescription
vbPopupMenuLeftButton0Items are selected with the left mouse button only.
vbPopupMenuRightButton2Items can be selected with either the left or the right mouse button.

twinBASIC and LOGO copyright of "WaynePhillipsEA" author