There is an unwanted system beep on Mac when handling arrow keys. How do I eliminate the noise?

There is an unwanted system beep on Mac when handling arrow keys. How do I eliminate the noise?

//FMX TViewport3D can respond to keyboard:
Viewport3D.CanFocus := True;
Viewport3D.SetFocus;
Viewport3D.OnKeyUp := HandleKeyUp;

The arrow keys work on both Windows and Mac, but Mac keeps playing the sound.

Comments

  1. "So when you hear the audible bell it often means that you are trying to do something that is not possible (i.e. typing a key command that has no meaning for the current application)."

    But arrow keys have a meaning in my application. I looked for something like Handled := True, but  there is none. Perhaps there should be?

    http://www.cocoabuilder.com/archive/cocoa/154121-silencing-beeps-from-nonexistent-key-equivalents.html

    ReplyDelete

Post a Comment