# Dialog Boxes

MOLMOL has two main kinds of dialog boxes, which are described in the following sections.

## Command Arguments

When a command requiring arguments is selected in the menu (or executed by other means, as described under Command Execution), it prompts for the arguments with a dialog. These dialogs typically contain text fields for entering strings and numerical values, radio boxes for selecting between different values of an enumerated set, and check boxes for enabling options.

These dialogs always have three buttons:

OK
  Closes the dialog, and executes the command with the arguments entered.
Cancel
  Closes the dialog without executing the command.
Help
  Display help information for the command, leaving the dialog open.

## Convenience Dialogs

There is a number of dialogs that give faster and more convenient access to frequently used operations that could also be executed by using normal commands. These dialogs are explicitly opened and closed by using a command starting with `Dial`:

- Selection Dialog for selecting items by entering expressions ( `DialSelect`).
- Molecule Dialog for quickly choosing the molecules that should be selected, displayed and/or movable ( `DialMol`).
- Color Dialog for choosing colors and applying them to selected items ( `DialColor`).
- Style Dialog for changing the display style of selected items ( `DialStyle`).
- RMSD Dialog for calculating RMSD values between molecules ( `DialRmsd`).
- Measurement Dialog for measuring bond lengths, angles, distances, etc. ( `DialMeasure`).

The first four dialogs in this list can be opened with one of the buttons on the right side of the main window.

These dialogs can remain open as long as you need them, commands are executed by clicking buttons within the dialog. They have two buttons at the bottom:

Close
  Closes the dialog.
Help
  Display help information for the dialog.

Last modified: Mon Jan 20 19:44:56 CST 2003