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:
01531365
Vues:
29
>>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") 
>
Perhaps we need to set FontBold for each individual object in the column (e.g. for each textbox).

Try also

thisform.Grid1.SetAll('FontBold',.t., 'textbox')
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