NEW DIALOG

From STX Wiki
Jump to navigationJump to search
Dialog Item
NEW SET CONTROLS ATTRIBUTES MESSAGES EXAMPLES

The command for creating an STx DIALOG item is NEW DIALOG. The command NEW MENU may also be used (for backward compatibility as of STx 4.3).

NEW DIALOG name displayItemName [ /Garbage ]

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 used to be called menus due to purely historical reasons (pre STx 4.3).

Navigation menu

Personal tools