BBjStandardGrid::setCellIcon
Description
Sets the icon for a cell in the BBjStandardGrid.
Syntax
Return Value |
Method |
void |
setCellIcon(int imageListID, int index, int row, int column) |
Parameters
Variable |
Description |
imageListID |
Specifies the imagelist ID. |
index |
Specifies the 0-based index of the icon in the image list. |
row |
Specifies the 0-based row. |
column |
Specifies the 0-based column. |
Return Value
None.
Remarks
Developers can use icons from a valid image list to set icons in a grid cell. The image list is usable if developers know the control ID and if creation of the image list resulted from using ResBuilder or mnemonics. Specifying an image index of -1 removes the icon.
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().
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.