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.
//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.
Just a very rough guess, It seems related to this:
ReplyDeletehttp://apple.stackexchange.com/questions/23981/command-control-arrow-beeps-plays-alert-sound-in-lion
??
"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)."
ReplyDeleteBut 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
plus.google.com - Gustav Schubert - Google+
ReplyDelete