Hide or show a control
- In design mode, right-click the control you want, and then click Properties on the shortcut menu.
- On the Display page, select or clear the Visible check box.
The following code example uses the ModifiedFormPages property of the current Inspector object to set the Visible property of a CheckBox on a page named "Test."
Item.GetInspector.ModifiedFormPages("Test").Checkbox1.Visible = False