Hi There,
Quick query, I hope...
I have a windows form with a datagrid on it.
I have set the me.acceptbutton = btnSave so that when the <enter> button is pressed, it prompts the user to save. This works great when any of the controls OTHER than the datagrid have control, such as labels & textboxes.
When the datagrid has the focus, and the enter button is pressed, nothing happens. The problem with this is, that the user is going to press the <enter> button when the datagrid has the focus, as this is the major data entry portion of the screen.
What im wondering is if anyone can supply some handy vb.net hints that will enable the user to press <enter> when the datagrid has the focus and be prompted to save?
Your assistance with this will be much appreciated.
Regards,
Michelle
Quick query, I hope...
I have a windows form with a datagrid on it.
I have set the me.acceptbutton = btnSave so that when the <enter> button is pressed, it prompts the user to save. This works great when any of the controls OTHER than the datagrid have control, such as labels & textboxes.
When the datagrid has the focus, and the enter button is pressed, nothing happens. The problem with this is, that the user is going to press the <enter> button when the datagrid has the focus, as this is the major data entry portion of the screen.
What im wondering is if anyone can supply some handy vb.net hints that will enable the user to press <enter> when the datagrid has the focus and be prompted to save?
Your assistance with this will be much appreciated.
Regards,
Michelle