Create a list box

Microsoft Office Outlook 2003

Create a list box

  1. In design mode, drag the ListBox control from the Control Toolbox to the form .

  2. Right-click the list box, and then click Advanced Properties on the shortcut menu.

  3. To create a standard list box, set the ListStyle property to Plain. To set the property, click the property and enter a value in the Apply box.

    To create a list box with option buttons or check boxes, set the ListStyle property to Option.

  4. Fill the list at design time or run time.

    How?

Note  When the ListStyle property is set to Option, the MultiSelect property determines whether check boxes or option buttons appear in the list. When MultiSelect is set to Single, option buttons appear in the list. When MultiSelect is set to Multi or Extended, check boxes appear in the list.