MENU CLOSE

MENU CLOSE

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

MENU CLOSE

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%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

pt_BRPortuguese