Binding a group box to a collection

Forms with more than one collection (such as a primary collection and a subcollection) often use a group box component to outline all the components associated with each collection.

To bind a group box component to a collection:

  1. With a form open and in Design Mode, create or select a group box component.
  2. On the Component property sheet, select Data Source >Binding, and then click the ellipsis (...) button.
  3. In the Type box, select CollectionID Group Box.
  4. Click Edit.
  5. In the Collection box, specify the collection to be bound to the group box.
  6. Optionally, select the Disable Raised 3D Display check box.
  7. Click OK.
相关主题