Show All

Enable or disable a control on a page

  1. In design time, right-click the control you want, and then click Properties on the shortcut menu.

  2. 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