Search Locate Previous Next Contents

Check Box Group (CK)


Description
This makes a group of check buttons, with the caption as the group tag (which may contain &Accelerators). You can choose whether to work with a boolean vector (one element per label) or a vector of indices to the checked entries. Do not add expressions for both the Indices and Checked properties!

Labels is a matrix of button captions. A vector is treated as a one-column matrix so that the group is arranged vertically. Otherwise the shape sets the layout of the buttons. Note that the Indices property will be the index into the ravel of this matrix.

The buttons are spaced out evenly within the object size and are re-arranged if the object is resized by the user. The Level property may be used to indent logical children.

Class Property Table
NameTypeDefaultDescription
HintString
StyleManyOf
IndicesUserIndices variable (selected indices)
CheckedUserBoolean vector (checked boxes)
LabelsRuntimeLabels List (button labels)
LevelRuntimeDepth vector for indented look
VisibleRuntimeBoolean singleton
ActiveRuntimeBoolean singleton


Continue to: Close Button (CL)
© Copyright Causeway Graphical Systems Ltd 2003