Configure a Button to close a Dialog box

To hide a
Dialog box
at runtime, another object must call a specific method.
  1. In
    Project view
    create a
    Dialog Box (type)
    .
  2. Under the
    Dialog Box (type)
    , create a
    Button
    object.
  3. In
    Events
    , next to
    MouseClick event
    , select
    Add
    Add
    and select the
    Close
    method.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.