Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Highlighted Row Color
Message
De
12/04/2008 07:02:19
 
 
À
11/04/2008 18:32:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01310115
Message ID:
01310157
Vues:
23
Is there any way to make the highlited colors of a grid match the dynamic colors? The idea is that the colors don't change when you click on a row of the grid.

Add a custom method to your grid called MaintainDynamicColors and call it from the Init() and the AfterRowColChange. This code in your method:
IF << Condition for Dynamic BackColor >>
  THIS.HighlightBackColor = EVALUATE(THIS.<< Whatever Column >>.DynamicBackColor)
 ELSE
  THIS.ResetToDefault("HighlightBackColor")
ENDIF
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform