The arrangement of a number of push buttons into one group can be done with a
. Since this provides a panel of buttons which do not maintain a selection when you click on them,
that does not allow a selection. When a button is activated it causes a
, but the button does not maintain the selected state.
Here is an example of a push button panel:
:items '(one two three four five)
Figure 6.1 A push button panel
The layout of a button panel (for instance, whether items are listed vertically or horizontally) can be specified using the
keyword. This can take two values:
if you wish buttons to be listed vertically, and
if you wish them to be listed horizontally. The default value is
. If you define your own layout classes, you can also use these as values to
. Layouts, which apply to many other CAPI objects, are discussed in detail in Laying Out CAPI Panes.
CAPI User Guide (Windows version) - 30 Aug 2011