Dears,
I have a usual master-detail data entry form where the detail is in DataGridView. I tend to show a messagebox once the user saves the data. If the user "clicks" on the messagebox, no issues, but if the user presses enter to dismiss it, then automatically the datagridview goes in edit-mode, making cell 0 of row 0 focused.
I tried to set focus somewhere else from Save method, but it doesn't work when the user presses Enter key. The scenario expects very less mouse operation.
How can I prevent going back to datagridview? Please help.
Regards,
V