| 20% Command group | 20% Flag affected | 20% Reversible | 20% Execute on client | 20% Platform(s) |
|---|---|---|---|---|
| Menus | NO | YES | NO | All |
Remove final menu
This command removes the final or right-most menu instance from the menu bar, excluding the standard Omnis menus such as File and Edit. If you use Remove final menu in a reversible block, the final menu instance is reinstalled when the method containing the block terminates.
# Remove the last menu installed
Begin reversible block
Remove final menu
End reversible block
OK message {Menu is now removed}
# now the final menu is reinstalled