>Have tracked it down to BeforeRowColumnChange occuring when the grid is loosing focus.
>
>Is there anyway to determine whether the grid is loosing focus as opposed to the column is changing?
>
>Regards
>Geoff Scott
>>Hi
nearly:
exceptions
- exists a bug on TABLEREVERT()
that can fire BeforeRowColumnChange() with m.this.RowColChange=0 without loosing focus
( for this,
you can set a grid flag into Grid.Valid, check and reset it into Grid.BeforeRowColumnChange)
- if the CellControl.Valid fail ( 0,.f.,.NULL. ... ) the focus still on grid
( this is a design bug because the CellControl.Valid have to be fired before grid.Valid )
Then, without these exceptions:
IF EMPTY(m.this.RowColChange)
ELSE
ENDIF