I would like to set the forecolor of records meeting a certain criteria in a sheridan data grid control to blue. Presently, when I attempt to do this, the columnheaders are set to blue instead.
Here is the code I placed in the Rowcolchang procedure of the grid control:
If grdInfo.Columns(14).Text = "Y" Then
grdInfo.ForeColor = vbBlue
End If
What can I do differently to achieve my goal?
Thanks,
Cooleen
Here is the code I placed in the Rowcolchang procedure of the grid control:
If grdInfo.Columns(14).Text = "Y" Then
grdInfo.ForeColor = vbBlue
End If
What can I do differently to achieve my goal?
Thanks,
Cooleen