NEW DIALOG

From STX Wiki
Jump to navigationJump to search

The command for creating an STx DIALOG item is NEW MENUB (that's for historical reasons).

NEW MENU name displayItemName [ /Garlic ]

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.
/Garbage Garbage collection. If specified, the item is automatically deleted when exiting the macro.

Note that dialogs are called menus due to purely historical reasons.

Navigation menu

Personal tools