Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Highlighter and my custom color for rows with records
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Grid Highlighter and my custom color for rows with records
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01028472
Message ID:
01028472
Vues:
57
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
___________________________________________
Répondre
Fil
Voir

Click here to load this message in the networking platform