Configure a button to close a dialog box
To hide a dialog box at runtime, another object must call a specific method.
Prerequisites
Create a dialog box type. See Create a graphic object type.
To configure a button to close a dialog box
-
Create a button object as a child of the dialog box type.
For more information, see Create a graphic object from a type.
-
In Events, next to MouseClick event, select
and select the Close method.