回复 6楼victor2DL的帖子
你可以在该事情里面判断如果行是你所期望的,就将背景色设置为新的颜色。
比如:
- Private Sub VSFlexGrid1_DrawCell(ByVal hDC As Long, ByVal Row As Long, ByVal Col As Long, ByVal Left As Long, ByVal Top As Long, ByVal Right As Long, ByVal Bottom As Long, Done As Boolean)
- If Row = 2 Then vsFlexGrid.Cell(FlexcpBackColor, Col, Row) = vbBlue
- End Sub
复制代码
语法参考:
http://helpcentral.componentone. ... ts/cellproperty.htm |