Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid coloring, a new question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00419409
Message ID:
00419674
Vues:
15
>I have a grid where certain records are highlighted in yellow if they meet a condition...this works fine. However, when the user clicks on one of those rows in the grid, the backround color of that box turns white. Once they move to the next row or column, that new box appears white and the one they just left is back to yellow. I tried different properties, like HIGHLIGHT, HIGHLIGHTROW and SELECTONENTRY, but I can't find the solution. I also searched the thread and mostly just found info on setting the colors initially. Any ideas?

Michael, you may use my Grid Highlighter, it will do what you want. It automatically sets the Back/ForeColor for the textbox in the active cell to match the row highlighting color (by default yellow :) If you want to do it yourself, Vlad gave you the good explanation on what to change.
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform