BBjGrid::setTopRow
Description
Sets a row to be the top visible row in the BBjGrid.
Syntax
Return Value | Method |
---|---|
void | setTopRow(int row) |
Parameters
Parameter | Description |
---|---|
row | Specifies the 0-based row. |
Return Value
None.
Remarks
If the number of rows in a grid fit within the visible area of the grid, then the top row cannot be set to anything greater than 0. The number of rows will be ignored if set to a higher value.
Note:
For grids that are set to have more rows than can fit in the display area; the bottom row of the grid will never be scrolled higher than the bottom of the visible area in the grid. Therefore, if the top row is set to a row that would move the bottom row above the bottom of the visible area, the top row will be set to the next highest row that will still have the bottom row at the bottom of the visible area.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.