Clear Menus, Clear Popups
These two commands each release different menu components from memory.
Usage |
CLEAR MENUS CLEAR POPUPS |
Example |
DEFINE MENU mymenu DEFINE PAD one OF mymenu PROMPT "first" DEFINE PAD two OF mymenu PROMPT "second" ON PAD one OF mymenu ACTIVATE POPUP three ON PAD two OF mymenu ACTIVATE POPUP four DEFINE POPUP three DEFINE BAR 1 OF three PROMPT "subitem 1" DEFINE BAR 2 OF three PROMPT "subitem 2" DEFINE POPUP four DEFINE BAR 1 OF four PROMPT "item 1" DEFINE BAR 2 OF four PROMPT "item 2" DEFINE BAR 3 OF four PROMPT "item 3" DISPLAY MEMORY && to see what's defined CLEAR MENUS DISPLAY MEMORY && note that only menu and pads are gone CLEAR POPUPS DISPLAY MEMORY && now it's all cleaned up |
See Also |
Release Bar, Release Menu, Release Pad, Release Popups, Set Sysmenu |