Binding components to collections or properties
These component types can all be bound to a collection or property:
- Edit
- MultiLineEdit
- List
- DropList
- ComboBox
- DateCombo
- CheckBox
- RadioButton
- Grid
- GridColumn
- Tree
- Gauge
Binding grids to collections
Grids are bound to primary collections, to secondary collections, or to subcollections.
The collection bound to a grid is the collection that is displayed and maintained in the grid control. To bind a grid to a primary or secondary collection, you select the collection on the appropriate Windows client dialog box. To bind a grid to a subcollection, you must specify the parent collection and the subcollection property that references the subcollection. You must also specify the standard attributes for the subcollection.
Binding components to properties
Grid columns and other single-value components can be bound to individual properties from the collection that is bound to the form or grid. The component can then be used to display and/or manipulate the property value of the currently selected object (in the collection).