|
GRID.ItemBkColor |
|
|
state = GRID.ItemBkColor( BYVAL nControl AS INTEGER, BYVAL row AS INTEGER, BYVAL column AS INTEGER, BYVAL color AS INTEGER ) AS INTEGER
Sets or gets the background color of specified cell.
Example:
' Set Cell( 1, 1 ) background color to Red GRID.ItemBkColor( nControl, 1, 1, RGB( 222, 0, 0 ) )
DIM clrBK AS INTEGER
' Get Cell( 2, 2 ) background color and then ' set Cell( 3, 3 ) background to the same clrBK = GRID.ItemBkColor( nControl, 2, 2 ) GRID.ItemBkColor( nControl, 3, 3, clrBK )
|