Help please,
How can I color the active line in grid and to uncolor it by passing to other line?In VFP9 is easily.
One example:
In VFP8 make form's property 'Nrecno'
(for grid1: recordsourcetype = 1 and recordsource = rab)
In INIT of form put
thisForm.nRecNo = RecNo("rab")
thisform.grid1.SetAll("DynamicBackColor","IIF(RecNo('Rab')=thisform.nRecNo,RGB(64,128,128),RGB(192,192,192))","Column")
In thisform.grid1.afterRowColChange put
LPARAMETERS nColIndex
ThisForm.Nrecno = RECNO("rab")
ThisForm.Grid1.Refresh
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst