Enable or disable a control on a page
- 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 Enabled check box.
The following code example uses the ModifiedFormPages property of the current Inspector object to set the Enabled property of a CheckBox on a page named "Test."
Item.GetInspector.ModifiedFormPages("Test").Checkbox1.Enabled = False