G
Guest
Hi,
I have a search for where we want the user to enter the search criteria in
at the top and press enter, then the results are shown in a datagrid which we
set the focus to. Once they select the item they want to choose then they
press enter to accept the form.
The problem is when you go into the form butSearch is set to AcceptButton
for the form, once you have selected the search criteria to populate the data
grid then we want to make butOK the AcceptButton for the form.
The butOK does have the highlight round it to say its the default button but
once you set it in code you can't even click on it with the mouse?
Anyone got any ideas?
Thanks
Mike
I have a search for where we want the user to enter the search criteria in
at the top and press enter, then the results are shown in a datagrid which we
set the focus to. Once they select the item they want to choose then they
press enter to accept the form.
The problem is when you go into the form butSearch is set to AcceptButton
for the form, once you have selected the search criteria to populate the data
grid then we want to make butOK the AcceptButton for the form.
The butOK does have the highlight round it to say its the default button but
once you set it in code you can't even click on it with the mouse?
Anyone got any ideas?
Thanks
Mike