>I don't know how I ended up with a couple properties for a Grid in a VFP 9.0 form. I can't duplicate this for some reason in a VFP 6.0 form. Unfortunately, I have to do coding in both VFP 6.0 and 9.0. One property is called "lAboutToLeaveGrid" and the other is "nRecNo"; both are used to handle the row colors of the grid.
>
>How do you add a property to a GRID, but not to the form itself?
Either use the custom Grid class (preferred method) or you can use AddProperty method to add these properties in run-time.
If it's not broken, fix it until it is.
My Blog