Moves a user-defined menu created with DEFINE POPUP to a new location.
Syntax
MOVE POPUP MenuName TO nRow1, nColumn1 | BY nRow2, nColumn2
Arguments
MenuName
Specifies the menu to move.
In Visual FoxPro, you cannot move the system menu.
TO nRow1, nColumn1
Moves the menu to a location, specified by nRow1, nColumn1, in a user-defined window or in the main Visual FoxPro window.
BY nRow2, nColumn2
Moves the menu to a location relative to its current position. nRow2 specifies the number of rows to move the menu (down if nRow2 is positive, up if negative). The numeric expression nColumn2 specifies the number of columns to move the menu (to the right if nColumn2 is positive, to the left if negative).
Remarks
A menu can be moved to a specific position or relative to its current position. If a menu has been defined, it can be moved; it doesn't have to be active or visible.