How Can We Help?
< 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

Leave a Reply

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

en_CAEnglish