I have a TabPage where a dbGrid is located on first position and some forms and a button. When I leave one of the forms with exiting the grid is activated.
When I now click on the button the grid has still the focus.
What can I do to change that focus to another object inside Entering of the button, because when I change in OnClick a database field that also exist in the dbGrid the dbGrid gets updated and that I have to avoid.

I tried:
Move oDatBis to hForm
Set phFromItem to hForm
Also:
Send focus of oDatBis
But nothing works.

Any idea?