4D v13.4RELEASE MENU |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
RELEASE MENU
RELEASE MENU
The RELEASE MENU command removes the menu whose ID is passed in menu from memory. This menu must have been created by the menu Create menu command. The following rule applies: for each Create menu there must be a corresponding RELEASE MENU. The command removes every instance of the menu menu from every menu bar and every process. If the menu belongs to a menu bar which is in use, it will continue to work but can no longer be modified. It will only be truly removed from the memory when the last menu bar where it appears is no longer in use. This command can be used with menus that are used as menu bars. Any sub-menus used by menu are not removed if they were created directly using the Create menu command. In this case, you must remove them individually (see the rule mentioned above). However, if the submenus come from the duplication of an existing menu, do not call RELEASE MENU with them because 4D will erase them automatically. This example shows different ways to use this command: newMenu:=Create menu |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D v11 SQL SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||