Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the ForeColor property with a third party grid control

Status
Not open for further replies.

33216CLC

Programmer
Aug 17, 2000
173
BS
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top