Alessio
Molti ringraziamenti. Quel ultimo messaggio ha fatto il trucco
Ciao
Terry
>here is what i put in the afterrowcolchange of my gridClass
>
>If Recno() # this.nrec
> This.nrec = Recno()
> this.Refresh()
>EndIf
>
>and that what i put in the init code :
>
>if this.evidenzia && **
> this.SetAll("DynamicBackColor","IIF(RECNO(this.recordsource) = this.nrec , this.bgevid ,this.bgnorm)","Column")
>endif
>
>** evidenzia is a property which tells the grid if it has to be highlighted
>** bgevid is the colour i choose to highlight the row, Bgnorm is the normal backColor
>
>It works fine to me , maybe you shoul setfocus the child grids.
>Let me know , I'm going home know I'll be back tomorrow
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.