AddCheckboxes Method

Adds a group of checkboxes to the dialog box.

object.AddCheckboxes aname, label, items, checked_items
 

Arguments

object

Required.  A variable containing a dialog object created by calling CreateObject or new ActiveXControl.

aname

Required. A name for this group of checkboxes.

label

Required. The text for the label that will sit to the left of the group of checkboxes

items

Required. An array of captions for the checkboxes.

checked_items

Optional. An array of captions for the checkboxes that are initially checked.

Remarks
More than one group of checkboxes may be added to a dialog box.

Example
See Multi-Select Controls in VBScript.