Hi Raza,
>Hi All:
>
>I have a created a custom class... cGrid which is based on VFP base class grid. Is it possible to change the color of the
> grid header and border from default value of RGB(236,233,216) ---to---> RGB(176,196,222) and how ?
>
>Do I need to place a command such as:
>
> This.Parent.ParentcGrid.SetAll("DynamicHeaderColor ???
>
>command in the init event of the cGrid ?.
>
>Any help is greately appreciated.
>
>Thank you in advance..
>
>Raz
First of all you will have to deactivate the Grid property 'Themes'.
Then you could use something like this:
FOR EACH oColumn IN oMyGridRef.Columns
oColumn.Header1.BackColor = RGB(176,196,222)
ENDFOR
Best Regards
-Tom
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
Oh, and BTW: 010101100100011001010000011110000101001001101111011000110110101101110011