> For the complete documentation index, see [llms.txt](https://chaoses-ib.gitbook.io/directory-opus/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaoses-ib.gitbook.io/directory-opus/manual/reference/scripting_reference/scripting_objects/dialogoption.md).

# DialogOption

The **DialogOption** object is used with the options property of the [**Dialog**](/directory-opus/manual/reference/scripting_reference/scripting_objects/dialog.md) object. A collection of five of these is provided, and any you initialize will be displayed to the user as physical checkbox controls.

| Property Name | Return Type | Description                                                                                                                                                      |
| ------------- | ----------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| label         | *string*    | Set this to the desired label of the checkbox.                                                                                                                   |
| state         | *bool*      | Set this to the desired initial state of the checkbox. When the **Dialog.Show** method returns, you can read this property to find out the state the user chose. |
