From f30c58345fe4336b9d142a016b37486af70fe199 Mon Sep 17 00:00:00 2001 From: dmitry Date: Fri, 27 Nov 2009 21:32:19 +0000 Subject: [PATCH] carbon: added comments about hard-coded edit controls hotkeys git-svn-id: trunk@22839 - --- lcl/interfaces/carbon/carbonedits.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lcl/interfaces/carbon/carbonedits.pp b/lcl/interfaces/carbon/carbonedits.pp index e631b9be74..4661411797 100644 --- a/lcl/interfaces/carbon/carbonedits.pp +++ b/lcl/interfaces/carbon/carbonedits.pp @@ -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