Hide or show a control

Microsoft Office Outlook 2003

Hide or show a control

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

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