Cannot type TAB in edit components in C++ Builder/Delphi with Firemonkey

  

I want to write script editor in my application that I write in C++Builder with Firemonkey.
< Tab > symbol is important symbol when you edit code in TMemo(or TEdit), but if I press – application just moves focus to next component.

I have tried to hook into the onKeyDown of the form, and TMemo component, but it seems < Tab > key is handled on lower level, and I cannot catch it.
Tried to google this question, but it seems no one bother to type tab in editors in Firemonkey framework.

How can I change behavior of the focus processor, or just configure TMemo component to not move to next component on tab key, but print it?

Comments are closed.