Programmer Guide/Shell Items/Dialog/NEW DIALOG: Difference between revisions

From STX Wiki
Jump to navigationJump to search
(initial import)
 
m (1 revision: Initial import)

Revision as of 18:31, 18 November 2010

NEW MENU (dialog)

NEW MENU name displayItemName [ /G ]

Attach a dialog item to the dialog of a display item. Multiple dialog items can be attached to the dialog, but the dialog itself exists only once! Normally the macro CREATEMENU is used to create the display and the dialog item or to attach a dialog item to an existing display. Once you have created a dialog, you can populate it with controls (see Dialog Control Creation).

name
The name of new dialog item.
displayItemName
The name of display item to contain new dialog.
/G
Garbage collection. If specified, the item is automatically deleted when exiting the macro.

Dialogs are called MENUs due to historical reasons.

Navigation menu

Personal tools