Embedded Frames do not receive Shortcut key input
Posted on 2006-07-17
I am using TFrames in Delphi 7.
At application's main form create I create my Frames all descent from TBaseFrame.
These frames then get's showed and hide on the appropriate button's onclick() events.
The problem I have here is there are 2 frames which have a TListView component on it.
I have created an action to select / deselect all items in the TListView components.
The shortcut key for these actions are CTRL+A.
Ok, when I show my first Frame the CTRL+A is working but when showing the second and hiding the first the input still goes to the first (hidden) frame.
How can I force the keyboard input to the visible Frame?
Thanks in advance!