Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Header colours
Message
From
26/11/2018 23:46:40
 
 
To
26/11/2018 11:17:24
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
01663794
Message ID:
01663813
Views:
44
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform