Ulises,
I can't help on #2 but here's #1:
In the AfterRowColChange() of your grid, save the PrimaryKey or RecNo() or something to a property of the grid or of the form. Call this MyRec.
Call the REFRESH() of the grid (or of the form) after setting that property.
In the REFRESH() put:
THIS.SetAll([DynamicBackColor], ;
[IIF(] + THIS.cKeyName + [ = THISFORM.grdMyGrid.MyRec, ] + ;
[RGB(125, 255, 125), RGB(255, 255, 255))], ;
[Column])
This makes the row green.
>1. Someone sometime ago posted a method to show one row of a grid in a different background or text color, depending upon the value of that particular record, but can't find it. Could someone please explain how?
>
>2. Sometimes, while working with a form, if some error occurs during development the form remains open and if I click on the x button it just goes disabled and I just can't close the form or modify it in any way. A thisform.release button doesn't work either. Only thing to do is to close VFP and open it again. How can I close that form without having to close VFP?
>Thanks in advance
>Ulises