Boolean control groups

A Boolean control group contains a list of Boolean controls. Each Boolean control has an ordinal value according to its position in the list. When the user sets one of the Boolean controls to True, the Boolean control group sets its state to the original value associated with that Boolean control and sets the other Boolean controls to False. Figure 42 shows a collection of radio buttons in a group.


NOTE The label and border are a separate view. See "Label View, Labels, and Decorations" on page 113 for more information.

You can adopt an integer control state into a Boolean control group to record which Boolean control in the group is set to true. Derived classes can override SetIntegerValue to map the changes to a change in some domain value.

The Boolean control group has no special interactor. Instead, all interaction is based on direct interaction with the Boolean controls that are in the group.


[Contents] [Previous] [Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Copyright©1995 Taligent,Inc. All rights reserved.

Generated with WebMaker