Adding a Grid component
- Open the form you want to add a grid to, and go into Design Mode.
- In the Toolbox, select Grid.
- Place and size the grid component where you want it on the form.
-
In the
Binding property field of
the
Component properties
sheet, specify the collection to bind to the grid:
- Click the ellipsis (...) button associated with the Binding field.
- Use the Edit Component Data Binding dialog box to specify the collection to which the grid is to be bound.
-
Use the
Component properties sheet
to specify other properties as desired.
Note: When the Grid component is first created, Windows client automatically creates two generically named grid columns.
- Add and configure grid columns as needed to display all the data you want to display in the grid.