BBjStandardGrid::setCellImage
Description
In BBj 5.00 and higher, this method sets the image displayed in a BBjStandardGrid cell.
Syntax
| Return Value | Method |
|---|---|
|
void |
setCellImage(int row, int column, BBjImage image!) |
Parameters
| Parameter | Description |
|---|---|
|
row |
Row of cell for which image is set. |
|
column |
Column of cell for which image is set. |
|
image! |
BBjImage to display in the cell(s). |
|
cells |
|
|
images! |
Return Value
None.
Remarks
This method does not affect cells of type GRID_CELL_TEXT. To add an image to a cell of type GRID_CELL_TEXT, pass an HTML string to setCellText().
Note:
To use a BBjVector of BBjImages, each BBjGridCell needs an image location set with BBjGridCell::setImageLocation. Multiple grid cells can have the same image location.
Example
The first row sets a single image to a single cell, the second row sets a single image to a BBjVector of cells, and the third row sets a BBjVector of BBjImages to a BBjVector of BBjGridCells.
|
Version History
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.