Creating Dialogs

Scripter contains a dialog editor that you can use to design customized dialogs. Select Edit | UserDialog Editor to visually design a dialog. You can control the size and placement of the components of the dialog, as well as customize the text included in the dialog.

  • Dialog Function: The dialog function is the name of a special function that is called when various events happen in a dialog. Define a dialog function to control the behavior of a dialog and to retrieve its input.

  • Field Name: The field name is the name used to refer to a component.

  • Caption:The caption is the text displayed within a component.

  • Quoted: When not quoted, the caption property gives the name of variable that contains the text to display for the caption. When quoted, the caption property is the literal text to display.

  • Array of Items: The array of items is the name of a string array variable that contains the strings to display in a list. The array variable must be initialized before the dialog is invoked.

  • Type: The type is the behavior of some components varies depending on which option is selected. Refer to the online help for descriptions of the available component types.

  • Option Group:For option buttons, the field name is used to refer to a group of option buttons. Only one option button within a group may be checked.

  • Comment: A comment is the text to insert in the dialog definition block.

See Also

UserDialog Example

Introducing Scripter

Object Hierarchy

Overview of Surfer Objects