Howdy
I tried that also but it doesn't work.
I have discovered that I need to place the GO TOP after the refresh(). If I do this I get my data displayed.
thisform.grid.Refresh()
GO TOP IN statusview
This seems awfully odd behaviour. As if I never give the grid focus it behaves perfectly
Ho Hum!!!
Regards
Geoff Scott
>>Hi there
>>
>>Been there early in the peice. If I reactivate the form it comes back but I dont want to be doing that if they are on another form.
>>
>>regards
>>Geoff
>
>Geoff,
>
>Why not do what I suggested and then return focuis where you want it? You will not get the grid to behave without doing the refresh and putting focus into it for an instant because of how the grid works internally. But you can;
>
>
>GO TOP
>SomeForm.Grid.Refresh()
>SomeForm.Grid.SetFocus()
>Thisform.Whatever.SetFocus()
>
May all your weeds be wildflowers