How do you add a property to a grid? I've added properties and methods to forms numerous times but can't seem to figure how to add a property to a grid.
>>How do I get the grid to highlite the record that was searched for?
>
>Create a property on the grid (or form, but preferably the grid) to hold the Recno() of the grids record source after every move of the record pointer (You can do it in an Init() and then in AfterRowCOlChange()), the set the dynamicbackcolor property of each column to 'iif(this.nRecno = recno(this.recordsource), rgb(255, 0, 0), rgb(255, 255, 255))'.
>
>Cetin has an example of this in the Files section, find "Two grid classes".
Al Williams
Anola MB, CANADA