In an indicator, I need to include a TextBox in the toolbar of the chart so that the user can write data that will later be collected by the indicator in real time.
The first problem arose when pressing down a key, the 'Instrument Overlay Selector' was showed. But it was resolved with e.Handle = true in the KeyDown handler method. But in spite of everything, the TextBox still does not accept direct text input (although, it does accept text from clipboard with Ctrl+V).
I think this has a solution because the 'InstrumentSelector' standard control in the toolbar does admit typing.
I have already tried to invalidate the KeyDown and PreviewKeyDown handler methods of all the visual tree containers (PART_ToolBarPanel, PART_CustomFrame) with e.Handle=true, but I have not been able to solve it. Please, any help or hint will be much appreciated.
Thanks in advance

Comment