Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic dynamicbackcolor?
Message
 
 
À
31/05/2001 11:49:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00513208
Message ID:
00513219
Vues:
22
>I have a grid with 14 columns. The backcolor of 4 of the columns is grey. Now I need to set the backcolor of the other 10 columns dynamically based on data. In the init of the grid I have:
>
>This.SetAll("DynamicBackColor", "IIF(items.secondary, RGB(193,255,255),RGB(255,255,255))", "Column")
>
Immediatelly after this command add:
store "rgb(192,192,192)" TO this.Column1, this.Column2,...
This is off the top of my head, may require some tweaking...

>But of course this sets the columns that should be grey to white. I cannot figure out how to write the code to account for those 4 columns and keep they grey.
>
>Any suggestions?
>
>TIA!
>
>Rob
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform