method Dialog.Dettach ()
Detaches the control.

TypeDescription

Call Dettach method to detach the control. If the control is attached to the container, use Dettach method to detach the control. Use the Attach method to attach a control to a form. If the form contains multiple instances of the ExDialog object, you have to call Dettach method in reverse order.