General information
Category:
Forms & Form designer
What you need to do is store the recno() to a form property in the Afterrowchange event. In the init of the grid class add the following:
with this
.SETALL('DYNAMICBACKCOLOR', 'IIF(RECNO() = THIS.CurRecNo, RGB(0,0,128), RGB(255,255,255))', 'COLUMN')
.SETALL('DYNAMICFORECOLOR', 'IIF(RECNO() = THIS.CurRecNo, RGB(255,255,255), RGB(0,0,0))', 'COLUMN')
endwith
You'll have to adjust it to suite your requirements, but you get the picture.
Charlie
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only