Canvas - Error Sound on Keypress on MacOS

BlitzMax Forums/BlitzMax GUI Programming/Canvas - Error Sound on Keypress on MacOS

Hi there,

I have built a window with a canvas in. On a key press something should happen in the canvas (EVENT_KEYDOWN).

Now, on Mac OS on a key press the system plays an error sound as if you were trying to edit a textfield that is not editable. Or as if you try to press a button but there is a modal dialogue that has to be closed first. (I hope someone knows which sound I mean?)

I also put a normal textedit gadget beside the convas to test this issue, but there the sound doesn't play.

I've tested on Windows as well, there everything works fine.

Is this a known Mac only issue? Is there a workaround?

Thanks a lot for any help.

Best
Rene