Fabio,
>
>Visual FoxPro can not call SetFocus() internally either.
>>
>You are a VFPT member ?
No. But that's irrelevant to this discussion.
>You known the VFP C++ source code ?
No. Also irrelevant.
>I have not problem to found a workaround,
Your last message said that you'd call it another bug if VFP called your Refresh code, and now you are saying it's ok for VFP to rip focus away from the current control and set it to the grid, and that's ok? Your self contradiction is funny at times.
>but i want a better VFP.
Not everyone agrees with you on what makes a better VFP.
You change the RecordSource, it's your responsibility to refresh the grid.