Hi,
I have an edit box in which the user types data.
when the user presses enter in the edit box, it calls the onclick event of a certain button, executing that code.
That code in the buttons onclick event triggers an OK message box.
My problem is that when the user presses enter to trigger the OK button on the Message box, it also triggers the enter press on the edit box, thereby constantly displaying the message box. To avoid this I have to click the OK button with the mouse. Is there away to allow them to press enter without calling the edit boxes OnKey press event?
Thanks
I have an edit box in which the user types data.
when the user presses enter in the edit box, it calls the onclick event of a certain button, executing that code.
That code in the buttons onclick event triggers an OK message box.
My problem is that when the user presses enter to trigger the OK button on the Message box, it also triggers the enter press on the edit box, thereby constantly displaying the message box. To avoid this I have to click the OK button with the mouse. Is there away to allow them to press enter without calling the edit boxes OnKey press event?
Thanks