Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Highlighter and my custom color for rows with records
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Grid Highlighter and my custom color for rows with records
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01028472
Message ID:
01028472
Views:
58
Hi Nick

Thank you for creating such a fine utility GridHighlighter.

I had a basic requirement to have my grid the color of the form which I have achieved by setting the grid's backcolor before createobject of GH.

I wanted to customize the colors of the header and highlight row which I have also successfully achieved.

The thing that remains to be achieved is to change the color of only the rows containing records.

I am currently doing this as follows:

Grid.Refresh()
DODEFAULT()

THIS.SETALL("DynamicBackColor", ;
	"IIF(!EMPTY(iID), RGBFormColor(0, 20, 0), RGBFormColor())", ;
	"Column")
This ruins the highlight row color settings as it overrides whatever GH sets. The idea behind all this excercise is that I want to have grid with form color. Only the records containing records is to be in my custom color of light green (setall in grid.refresh()). But yes I want the last hightlighted row in the color as set in GH.

Please advise.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Reply
Map
View

Click here to load this message in the networking platform