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.