The Edit Menu dialog can be displayed by either double clicking anywhere within the menu bar or selecting the menu bar and clicking on the "attribute edit" icon in the tool bar. This dialog presents the current attributes of the menu. There is one section in the dialog: identification.
This section displays naming and other identifying information for the menu object.
Menu Name | This field contains the name of the menu. The Screen Painter automatically generates a unique name for it. This name can be maintained or changed, as long as the new name conforms to the Zim Object Naming Rules. In addition, the new name together with the Directory Name cannot be the same as that for any display, form or window object that is being defined within the same screen painting session. If the name is changed such that the Menu Name and Directory Name are the same as that of a menu object whose definition already exists in the Data Dictionary, a warning dialog is presented that informs you that saving the definition of the menu replaces the existing definition. |
Directory | This field contains the Zim directory name for the menu. This name can be maintained or changed, as long as the new name conforms to the Zim Object Naming Rules. In addition, the new name together with the Menu Name cannot be the same as that for any display, form or window object which is being defined within the same screen painting session. If the name is changed such that the Menu Name and Directory Name are the same as that of a menu object whose definition already exists in the Data Dictionary, a warning dialog is presented that informs you that saving the definition of the menu replaces the existing definition. |
Menu Number | This field contains an automatically generated identifying number for the menu. The value in this field can be used to identify the menu that owns a selected menu item. Refer to Callback Events for more detailed information about associating menus with callback events. The value in this field can be changed and need not be unique. |
Menu Tag | This field contains an identifying text string for the menu. The value in this field can be used to identify the menu which owns a selected menu item. Refer to Callback Events for more detailed information about associating menus with callback events. The value in this field can be changed and need not be unique. If left blank (the default), the value contained in Menu Name is used for Menu Tag. |
OK | This push button performs any required data validation, commits any changes that were made to the menu's attributes, and returns to the Screen Painter's layout mode. |
Cancel | This push button discards any changes that were made in this dialog and returns to the Screen Painter's layout mode. |
Help | This push button invokes the Zim Help facility, initially displaying the section entitled Edit Menu dialog (this section). |