This example creates a menu containing files with a .PRG extension and moves, enlarges, and shrinks the menu before closing it.
CLEAR
DEFINE POPUP popMovIn FROM 2,2 TO 7, 14 PROMPT FILES LIKE *.PRG ;
TITLE 'Programs'
ACTIVATE POPUP popMovIn NOWAIT
=CHRSAW(2)
MOVE POPUP popMovIn BY 5,5 && Move popup down
=CHRSAW(2)
SIZE POPUP popMovIn BY 5,5 && Enlarge the popup
=CHRSAW(2)
SIZE POPUP popMovIn BY -5,-5 && Shrink the popup
=CHRSAW(2)
MOVE POPUP popMovIn BY -5,-5 && Move popup up
=CHRSAW(2)
DEACTIVATE POPUP popMovIn
RELEASE POPUP popMovIn