scripting:script_editor:editors:dialog_editor:adding_dialog_controls

To add a control to your dialog, simply click it in the control palette, and then click again on the dialog to place it. You can also drag-and-drop directly from the control palette to the workspace.

You can also make copies of existing controls using the clipboard (e.g. Ctrl+C, Ctrl+V).

Script dialogs support a number of the standard Windows control types (other types may be added in the future):

Static Text


Displays a static text string. The control type is used for labels and instructions.

Markup Text

Like a static text string, except it supports simple HTML markup, including clickable links.

Edit Control


A field that you can enter text into. Supports various sub-types including single line, multiple line, password and number.

Button


A push button that you can click to trigger an action.

Check Box


A checkbox button; can be on or off (or optionally, a third “indeterminate” state).

Radio Button


A radio button; can be on or off. Provides mutual exclusion with other radio buttons in the same logical group.

Combo Box


Provides a drop-down list in its default mode. Can also provide an edit field combined with a drop-down list, or an edit field combined with a flat list.

List Box


Provides a flat list that the user can select one or more strings from.

List View


Similar to a List Box, but offers multiple columns and alternate display modes.

Tab Control


A control that can host other dialogs. Each sub-dialog appears as a tab.

Group Box


Used to draw a box around other controls, or as a header to divide two sections of a dialog.

Palette

A palette control that pops open a color selection palette when clicked.