mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-02 19:18:14 +02:00
carbon: added comments about hard-coded edit controls hotkeys
git-svn-id: trunk@22839 -
This commit is contained in:
parent
7071eb888d
commit
f30c58345f
@ -309,6 +309,10 @@ end;
|
||||
|
||||
procedure TCarbonControlWithEdit.AllowMenuProcess(MenuHotKey: AnsiChar;
|
||||
State: TShiftState; var AllowMenu: Boolean);
|
||||
{ These characters seems to be hardcoded by apple to Edit controls. }
|
||||
{ It doesn't seem possible to change the hotkeys. Even if there're }
|
||||
{ some menu available with the same hotkey, still focused control }
|
||||
{ has a priority over the menu }
|
||||
const
|
||||
MacHotChars = ['a','A','c','C','v','V','x','X','z','Z'];
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user