Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Button in Grid ForeColor change
Message
 
 
À
07/04/2018 04:20:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01659197
Message ID:
01659216
Vues:
52
Thank you very much!

>Check for dynamicForecolor in grid column:this is a prototype
>
>with thisform.grid1
>.setall("Dynamicforecolor","iif(mod(recno(),2)=0,rgb(0,255,0),rgb(255,255,255)","column") && here altern rows forecolor in 2 colors
>endwith
>
>adapt the condition "iif.....",to your real one. put it between quotes to be evaluated at runtime.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform