I have written a personal Delphi application which uses the function keys F1 to F12 as menu and button press shortcuts in various parts of my application. In XP Pro 32 bit and lower, everything works perfectly. I am now using Window 7 Pro 64 bit and everything works perfectly except F8 and F9 no longer function and I have to manually operate the F8 and F9 menu sequences. Essentially I have a main form where pressing one of F8 to F12 brings up the appropriate window from 5 possible forms where the new forms act as the main form since the main form is closed. When I am in a secondary window pressing the function keys allows me to switch between the 5 secondary windows. F8 to F12 are sub-menu items and are not visible on the main or secondary forms unless the “Select Module”, the first item on the main menu, is selected. F9 is the first sub-menu item, F10 to F12 are items 2 to 4 and F8 is the fifth sub-menu item.
Since switching to Windows 7 64 bit, F10, F11 and F12 work perfectly but F8 and F9 do not function for either the main window or the secondary windows. I have searched through Windows help to try and find out what is happening, whether F8 and F9 have some particular function. Nothing else appears to happen when I press the keys and in any case my application has the focus.
Has anyone got any idea about what is going on and how to fix it?