keepingbusy
Programmer
Hi all
I have a form with a grid that shows records from a table. In the grids init procedure is:
Code:
PUBLIC grno
grno = RECNO()
THIS.setall("Dynamicbackcolor", ;
"IIF(RECNO()=grno,RGB(0,0,128),RGB(255,255,255))","Column")
THIS.setall("DynamicForecolor", ;
"IIF(RECNO()=grno,RGB(255,255,255),RGB(0,0,0))","Column")
Code:
LPARAMETERS nColIndex
grno = RECNO()
THISFORM.GRID1.REFRESH
My question is more of a cosmetic one in that, how do I get the form to show the selected record highlighted on the grid half way down the grid instead of at the top when it returns from being updated or viewed?
The grid displays about 28 records.
Is this possible?
Thank you guys
Lee