Make a control read-only

Microsoft Office Outlook 2003

Make a control read-only

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

  2. On the Display page, select the Read only check box.

    The following code example uses the ModifiedFormPages property of the current Inspector object to make TextBox1 read-only.

    Item.GetInspector.ModifiedFormPages("P.2").TextBox1.ReadOnly = True