Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid Header colours
Message
 
À
26/11/2018 11:17:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro et .NET
Divers
Thread ID:
01663794
Message ID:
01663813
Vues:
45
>>Its been a while since I've done something in VFP.
>>I am working on a little project for myself using VFP9 and Windows 10 64bit.
>>I seem unable to change the foreground & background colour on a grid header....
>>Is this just life under Win 10 or am I missing something?
>>
>>TIA
>
>Hi
>
>Try
>
>
>FOR i = 1 TO thisform.grid1.ColumnCount
>        thisform.grid1.Columns(i).header1.backcolor =  RGB(255,0,0)
>     ENDFOR
>
>
>
>Regards,
>
>Koen

Thank you for the reply, Koen!
Rick Hodgin's answer was what I was looking for - with Themes set to False, colours worked.
BTW, the simpler way that I used was : This.grdMyGrid.SetAll('BackColor',rgb(240,240,240),'Header')

Regards
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform