NEW DIALOG

From STX Wiki
< Programmer Guide‎ | Shell Items‎ | Dialog
Revision as of 15:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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