Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
You said you wanted highlighted grid row...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
You said you wanted highlighted grid row...
Divers
Thread ID:
00418865
Message ID:
00418865
Vues:
52
... then download the GridHighlighter class I just posted in Files Section/Classes - VCX.

Forget adding properties and code in different places in the grid.
Forget creating special grid class with built-in highlight row functionality. You don't need to do it anymore.

All you need to do:

1. Drop the instance of GridHighlighter class beside your grid (at the same level that is)

2. Set GridHighlighter1.cHostname property the same as your Grid.Name (i.e. "Grid1")

3. Set the corresponding GridHighlighter properties if you don't like the default highlight color, or if you want to choose highlight OR boldface (default setting is both)

4. Add one line of code to your Grid.AfterRowColChange() event:

this.parent.GridHighlighter1.Highlight_Row()

5. Voila! There you go. :)

See README.TXT for more details.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform