I have a TTabControl on a form, and I would like that if the tabs (tab header) is focused, and when the user presses Ctrl+RightArrow, it will focus on the right-most tab. Sadly, TTabControl doesn't have an OnKeyDown event, unlike TEdit. How can I implement a custom OnKeyDown event?
You can subclass the TabControl's
WindowProcproperty to do whatever you want with its received messages directly, eg: