>Nick
>
>Is it possible to have 2 grids on the same form both using a grid highlighter?
>
>I have tried it but can't seem to get it to work for the second grid
>
>Thanks
>
>Colin
PMFJI,
I just tried it with 3 grids and worked :) I didn't use this before (well except for testing long ago:) so what I've done might be a long way to do it :
-I dropped 3 instances on to form and set cHostName of each to one of those grid's name.
-I edited each grid's AfterRowDColChange event to have :
this.parent.GridHighlighterN.Highlight_Row()
where N is the instance number for the grid.
-In form.init added code (otherwise it didn't highlight all before I tabbed to them):
this.myGrid3.SetFocus()
this.myGrid2.SetFocus()
this.myGrid1.SetFocus()
Cetin