Choice (filter, event)

A choice button is one of a group of ``radio buttons.'' There must be a Radio component somewhere in its ancestry. Choice components must be named.


Value GP
(Boolean, FALSE)
Whether currently selected.
MenuStyle
(Boolean, FALSE)
When set, the interactor should be a child of a Menu, in which case it will react on the upclick. Otherwise, it reacts on the downclick.

Feedback choices (mutually exclusive):

CheckBox
(Boolean, TRUE)
Give feedback with a ``check-box'' icon.
CheckMark
(Boolean, FALSE)
Give feedback with a ``check-mark'' icon.
Inverting
(Boolean, FALSE)
Give feedback by drawing a border around the child VBT.

Behavior
If CheckBox is TRUE, Choice adds a three-dimensional diamond to the left of its child. The diamond is raised and empty for false, lowered and filled-in for true. Any click on the diamond or on the child selects this ``button,'' unselects any other member of the group that might have been selected, and generates an event. MenuStyle causes different reaction to the mouse clicks, as described above.
Shape
The shape of its child, plus 16 pixels wider on the west side when not Inverting. When Inverting, the shape of the child plus the border.
See Also
Boolean and Radio