About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 Register to post in forums, or Log in to your existing account
 

 Related 
Contents
Common Properties:
  Name *
  Caption
  Left *
  Top *
  Width *
  Height *
  Align *
  AutoLeft *
  AutoTop *
  DeltaLeft *
  DeltaTop *
  DeltaRight *
  DeltaBottom *
  AutoCenter *
  FullWidth *
  Menu *
  Anchors
  Color
  Enabled
  Visible
  DataSource
  Field
Group Properties:
  Alignment
Common Events:
  OnChange
  OnValidate
Visual Object Reference
  Common Properties
  Common Events
  ActiveX
  Button
  Checkbox
  CheckGroup
    Columns
    AutoSize
    ItemHeight
    WordWrap
    ValueType
    Items
    Count
    Value
    ItemList
    CaptionProp
    Add
    Check.List subclass
    Check.Combo subclass
  ColorBtn
  Column
  Combo
  Dock
  Edit
  Grid
  Group
  Image
  Item
  ItemSep
  Label
  List
  Memo
  Menu
  Navigator
  Node
  Page
  Pages
  Panel
  RadioGroup
  Ruler
  SpinEdit
  Splash
  Splitter
  StatusBar
  Style
  Tab
  Tabs
  Toolbar
  Tree
  Window
Related Links:
  Checkbox
  CheckGroup
CheckGroup [[zCheckGroup]] 
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.
Viewer Comments [0 - Post your comments]

Jump to:  

© 2009 Zugg Software. Hosted by Wolfpaw.net