I order to change your back and fore colors of your columns, you would have to either do it by code or at least create your class with an exact columncount. In your class if you put your columncount to 1, you cha change the colors right in your class.
HI
In your grid class.. in the init event.. add the code..
LOCAL I
WITH This.
FOR I=1 TO .columncount
** If you need single uniform color then..
** .Columns(i).Header1.BackColor = RGB(255,192,255)
** OR alternate headers in different color as below
IF MOD(i,2) = 0
.Columns(i).Header1.BackColor= RGB(128,255,255)
ELSE
.Columns(i).Header1.BackColor= RGB(255,192,255)
ENDIF
ENDFOR
ENDWITH
Play around the RGB combination to your liking.
Hope this helps ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.