Hi, This one is funny:
I have a textbox on a form with this valid method:
Messagebox("Illegal value")
When the textbox has focus and i click on a button on the form, the messagebox appears, and the click event of the button is not executed if i click ok on the messagebox. When pressing the space key the messagebox dissapears and the click event is executed.
It seems as if the messagebox picks the click out of the eventque or something like this.
Has anyone a suggestion on how to handle this? The valid messagebox is nessesery.
Thanx in advance,
Wim Dieke
---
Life is like a box of chocolates