property Dialog.Enabled as Boolean
Retrieves or sets a value indicating whether the control is visible or hidden.

TypeDescription
Boolean A boolean expression indicating whether the control is visible or hidden.

Use the Enabled property to show or hide the control. The Visible property ( that's implemented by the container ) has no effect for ExDialog sample.