Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Change Background color on ONE cell.
Message
 
À
12/02/2002 13:23:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00618941
Message ID:
00618987
Vues:
15
>>Wouldnt selectedbackcolor imply that the cursor need to be on that cell for the color to be seen? If so thats not my intention, the cursor will never be on the field I need to change the background color on. The field/cell is disabled, I even tried disabledbackcolor with no luck.
>
>Won't .DynamicBackColor do the trick, then?

Not for the active cell, because for the active cell column.DynamicBackColor setting is overriden by textbox's ...Color properties. You need some code to make sure that the appearance of the active cell is what you want it to be. Usually this code goes into grid.AfterRowColChange() event.
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform