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