Hi all
This topic was started in thread1254-842507, but I wanted some clarification. I am using VFP8.
I have a grid with several columns.
I want column2 to display a different background colour dependant on a value the column's controlsource.
Therefore, from previous examples, I created a method at the form level and call it from the column:
The method returns the colour to display for that column only.
My problem is that the grid highlight row overrides it. When i select the row, it gets covered by the grid's highlight colour.
The grid properties are:
Any way around this?
Thanks
This topic was started in thread1254-842507, but I wanted some clarification. I am using VFP8.
I have a grid with several columns.
I want column2 to display a different background colour dependant on a value the column's controlsource.
Therefore, from previous examples, I created a method at the form level and call it from the column:
Code:
thisform.grid1.column2.dynamicbackcolor="ThisForm.frm_check_colour(pval)"
The method returns the colour to display for that column only.
My problem is that the grid highlight row overrides it. When i select the row, it gets covered by the grid's highlight colour.
The grid properties are:
Code:
allowcellselection=.F.
highlightstyle=2
Any way around this?
Thanks