# (start_dialog) [GstarCAD 2011](../../../Index.md) → [Developer Reference](../../%28Developer%20Reference%29.md) → [AutoLISP Reference](../%28AutoLISP%20Reference%29.md) → [LISP Functions](%28LISP%20Functions%29.md) <a id="279"></a> ## (start\_dialog) --- Start that dialog box. --- This function displays a dialog box and accepts clicks the user inputs with the mouse button. It returns the status code passed to it by the [done\_dialog](%28done_dialog%20-flag-%29.md)function: | Code | Meaning | | --- | --- | | 1 | User clicked **OK** button. | | 0 | User clicked **Cancel** button. | | -1 | The [term\_dialog](%28term_dialog%29.md) function was used. | **Example** | Code | Returns | | --- | --- | | (**start\_dialog**) | - 1 | ### NOTES - A dialog box is first initialized by the [new\_dialog](%28new_dialog%20dialog%20dcl-id%20-function%20point-%29.md) function. - The order of calling a dialog box is as follows: - [load\_dialog](%28load_dialog%20filename%29.md) - **new\_dialog** - [action\_tile](%28action_tile%20key%20expression%29.md), [start\_image](%28start_image%20key%29.md), [start\_list](%28start_list%20key%20-operation%20-index-%29.md), etc (perform all dialog box initialization, such as associating an action with a tiles, creating an image, and making the lists for list boxes) - start\_dialog **Tell me about...** [(term\_dialog)](%28term_dialog%29.md) [LISP Compatibility](../LISP%20Compatibility.md) [Programming Overview of LISP (LISt Processing) Language](../Programming%20Overview%20of%20LISP%20%28LISt%20Processing%29%20Language.md) <a id="holding"></a> ## Other versions with matching text [GstarCAD 2012](../../../../2012/Developer%20Reference/AutoLISP%20Reference/LISP%20Functions/%28start_dialog%29.md)