Here is an example based on one described in the ActiveX Control pad help.
There are 2 checkboxes and you can select 0, 1, or both of them. The CommandButton
called Display uses the state of the checkboxes to determine what to write into
the Label when clicked.
Source: View or Save this HTML file
to see the ActiveX control objects and the VBScripts used to
control them. The scripts are part
of the file but the source of the controls is not available as they are provided
by Microsoft and not developed by me.