Each TTabSheet
on my TPageControl
has a TToolBar
on it. Each tool bar has a TToolButton
that should respond to the same keyboard shortcut. How do I provide hotkeys so that the right button is invoked for the current page?
On the first tab sheet, Ctrl+T should make something happen, but upon switching to the second tab, Ctrl+T should make something else happen instead.
Is this a time to toggle TActionList.State
between asNormal
and asSuspended
when tab sheets are shown or hidden?