Hi,
I've got a DataGridView which isn't receiving the focus.
I've got a bound DataGridView, and bound TextBoxes, so when the user scrolls through the grid, the text boxes display data associated with whatever is selected in the grid.
The user can press "U" (to update) the data, and a TabControl containing the text boxes becomes enabled so the user can make some changes.
What I'm finding is that if the user abandons the changes (where all the TextBoxes, Combo's revert back to their original state), I can't put the focus back to the DataGridView UNLESS I put a messagebox in (perhaps saying "Changes abandoned" - which might be ok, anyway).
If I don't put the message box in, the focus moves to the menus.
Its as if delaying the DataGridView.Focus, via the messagebox, allows the .Focus to work.