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.
  1. To configure a button to close a dialog box
  2. Create a button object as a child of the dialog box type.
    For more information, see Create a graphic object from a type.
  3. In
    Events
    , next to
    MouseClick event
    , select
    Add
    and select the
    Close
    method.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.