Property CellBackColor As OLE_COLOR
Member of MSHierarchicalFlexGridLib.MSHFlexGrid
Returns or sets the background color of individual cells or ranges of cells.
Member of MSHierarchicalFlexGridLib.MSHFlexGrid
Returns or sets the background color of individual cells or ranges of cells.
Dim i As Integer
For i = 1 To Me.MSHFlexGrid1.Rows - 1
Me.MSHFlexGrid1.Col = 2
Me.MSHFlexGrid1.Row = i
MSHFlexGrid1.CellBackColor = vbRed
Next iFor i = 1 To Me.MSHFlexGrid1.Cols - 1
Me.MSHFlexGrid1.Row = 1
Me.MSHFlexGrid1.Col = i
MSHFlexGrid1.CellBackColor = vbRed
Next iEnd Sub
with mshflexgrid1
.row=i
.selectionmode=1
.heightbright=2
.focusrect=0
.forcolor=rgb(0,0,255)
endifnext