Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing row colour of grid based on condition
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01531331
Message ID:
01531372
Vues:
28
>>In the forms init I have
>>
>>thisform.Grid1.SetAll("FontBold", .t., "Column")
>>thisform.Grid1.SetAll("DynamicForeColor","thisform.SetGridColor()","Column")
>>
>>Only the first column is bold
>>
>>Colin
>
>Is there any difference if you change SETALL to:
>
>FOR EACH oCol in thisform.Grid1.Columns FOXOBJECT
>    oCol.FontBold = .t.
>NEXT
>
>thisform.Grid1.SetAll("DynamicForeColor","thisform.SetGridColor()","Column") 
>
I have found some old code which appears to do the trick

Thanks for al your help

Colin
Specialist in Advertising, Marketing, especially Direct Marketing

I run courses in Business Management and Marketing
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform