BBjWindow::addDataBoundGrid
Description
In BBj 7.00 and higher, this method creates a data bound grid control in the BBjWindow.
Syntax
|
Return Value |
Method |
|---|---|
|
addDataBoundGrid(int ID, number x, number y, number w, number h) addDataBoundGrid(int ID, number x, number y, number w, number h, string flags) |
Parameters
| Parameter | Description | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
ID |
A positive integer that will be used to identify the grid. This number must be unique among the controls in the current window. |
||||||||||||||||||||||||
|
x |
Horizontal position of the upper-left corner of the grid in currently-scaled CONTROL units, relative to the inside of the window containing it. |
||||||||||||||||||||||||
|
y |
Vertical position of the upper-left corner of the grid in currently-scaled CONTROL units, relative to the inside of the window containing it. |
||||||||||||||||||||||||
|
w |
Width of the control in current units. |
||||||||||||||||||||||||
|
h |
Height of the control in current units. |
||||||||||||||||||||||||
|
flags |
May be empty or a two-byte binary string composed of any hexadecimal addition of the following values:
|
Return Value
This method returns the created BBjDataBoundGrid object.
Remarks
The number of rows and columns will be determined by the BBjRecordSet to which the BBjDataBoundGrid is bound.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.