GRID.ItemBorderColor

Previous  Next

 

mask = GRID.ItemBorderColor( BYVAL nControl AS INTEGER,

                             BYVAL row      AS INTEGER,

                             BYVAL column   AS INTEGER,

                            [BYVAL color    AS INTEGER] ) AS INTEGER

 

 

 

 

 

Sets or gets the color of the individual cell borders.

 

Example:

 

' Double width cell borders in red

GRID.ItemType( nControl, 1, 1, MG_CELL_STRING )

GRID.ItemBorders( nControl, 1, MG_COL_ALL, 2, 2, 2, 2 )

GRID.ItemBorderColor( nControl, 1, MG_COL_ALL, RGB( 222, 22, 22 ) )