613-518-1166 info@zimdatabases.com

ZIM Language Reference

MENU CLOSE

< All Topics

Closes the open menu in the current window.

Syntax

MENU CLOSE [object]

Parameters

object

Can be
name
The name of the menu to be closed.
(expr )
A character string, or an expression that evaluates to a character string, used at run time as the name of the menu. Using expr enables one MENU CLOSE command to specify different menus, at the risk of encountering an ambiguous name.
If name or expr is omitted, MENU CLOSE closes the current menu in the current window. When name or expr is specified, MENU CLOSE closes the open menu only if its name matches the specified name.

Comments

A MENU CLOSE command implicitly causes any form, display, or menu open in the window to be closed.

The MENU CLOSE command with a menu name is effective only if the menu in the current window bears the exact name specified in the command.

Closing a menu removes that menu from the window. The window remains without a menu until a MENU OPEN command is executed.

 

See Also

FORM CLOSE

ThisMenu

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Table of Contents