Kev, you need to enter in the property sheet:
for cMultipleRecordsColor property: RGB(255,255,0)
for cCustomCondition property: statcode > 59
for lCustomCondition property: .T.
That's it.
>I used the gridhighlighter class in my program and it works pretty well. I now wanted to do some conditional highlights based on values of fields. I noticed there is a property for this and all, but it seems the instructions given and the example are not easy to follow quickly. As this is somewhat of a "beautify" command, I don't want to spend a lot of time playing with it. I was wondering if you have used the gridlighter yourself and could tell me how to setup a conditional and pick a color for it. For example, if I have a field in a table called statcode and wanted to hightlight the every record yellow if the statcode > 59.
>
>Kev
>
>
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison