|
 |
|
NOTE: This Design document is subject to change at any time. |
Syntax: <CHECKGROUP property-list>group items</CHECKGROUP>
Creates a group of check boxes. This is the same as the CHECK.GROUP subclass.
Items can be added with the ItemList property, or by placing a GROUPITEM within the group. For example, to create the image shown at the top of this article, you can use the code:
Code: |
<CHECKGROUP ItemList='Item 1|Item 2|Item 3'/> |
or the equivalent code:
Code: |
<CHECKGROUP>
<GROUPITEM Caption='Item 1'/>
<GROUPITEM Caption='Item 2'/>
<GROUPITEM Caption='Item 3'/>
</CHECKGROUP> |
The advantage of the second method is that you can also specify the Value property of each item.
The ValueType property has options for different formats for the Value property of this control. By default, a numeric value formed by "ORing" the values of the checked items is returned.
In addition to displaying the checkboxes within a group, you can also display checkboxes in a list using the CHECK.LIST subclass, or in a dropdown box using the CHECK.COMBO subclass. |
|