The simple solution, which comes to mind, is to set form's property, say, NoGridRefresh and in AfterRowColChange set it to .t.
if grid refresh put
if thisform.NoGridRefresh
nodefault
endif
thisform.NoGridRefresh = .f.
This is just an idea and not tested.
Of course, it could be a grid's property...
>Hy,
>I have a grid and a couple of related textboxes in the Form.
>In the AfterRowColChange I put thisform.refresh().
>But not only the textboxes get a refresh but also the grid.
>Is there a way to prevent the grid also refreshes?
>I know I can say thisform.textbox1.refresh(),thisform.textbox2.refresh() etc.
>A second solution is to put the textboxes in a container and said thisform.cnt.refrsh().
>But that is not what I want.
>I want to block the refresh from the grid.
>In the refresh methode of the Grid Return .F. doesn't work because the Refresh is already there,It must be done before the Refresh methode.
>Is this possible ?
>
>Thanks John Zylstra Holland
If it's not broken, fix it until it is.
My Blog