Want the entire row backcolor changed to match the cell back color when the cell in the first column is selected. Highlight .t. only gives outline color.
1. IN THE FORM create a property called inRecNo with 0 as initial value.
2. In the Init Event of the Grid PUT THE CODE
This.SetAll("DynamicBackColor", ;
"IIF(recno(This.RecordSource)=THISFORM.inRecno, ;
RGB(0,255,0),RGB(255,255,192))","COLUMN"
3. In the AfterRowColChange event of the Grid.. put the code
ThisForm.inRecNo = RECNO()
This example will get you the idea to put your requirement
ramani :-9
(Subramanian.G)
FoxAcc
ramani_g@yahoo.com
LET KNOW IF THIS HELPED. ENOUGH EXPERTS ARE HERE TO HELP YOU OUT! BEST OF LUCK
Is made by Nick Necklioudov. Very good class (I use it also).
In fact, every time I have the opportunity to reccomend somebody else's work, I'll do, because I have to reivent the wheel. Is hard to believe that someone wich needs something will do a better job than somewone which does that job for long time.
Hope this helps Grigore Dolghin
Class Software
Bucharest, Romania
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.