MENU DEFINE

MENU DEFINE

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

MENU DEFINE

Invokes Zim IDE to edit a menu.

Syntax

MENU DEFINE menuname [[IN] dirname]

Parameters

menuname

The name of a new or existing menu.

dirname

The name of the application directory in which the specified menu can exist. If the menu does not exist in the provided application directory, it will be created there.

If omitted:

the menu will be selected from the first application directory in which it exists.

if the menu does not exist, it will be created in the ZIM application directory.

Examples

Invokes Zim IDE to edit the menu mAddEmps:

 

menu define mAddEmps

If mAddEmps does not exist in any application directory, it will be created in the ZIM application directory.

Otherwise, it will be selected from the first application directory in which it exists.

 

menu define mAddEmps ZIM

If mAddEmps does not exist in the ZIM application directory, it will be created there.

It will be selected from the ZIM application directory only if it exists there.

 

menu define mAddEmps EMPS

If mAddEmps does not exist in the EMPS application directory, it will be created there.

It will be selected from the EMPS application directory only if it exists there.

 

Related topics

DISPLAY DEFINE

FORM DEFINE

WINDOW DEFINE

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish