is getting mouse x,y location (price levels and date/time) when I click inside the text box
(because those candle bars are still visible under the half transparent text box)
Wonder if TextBox() mouse events would achieve this? Sorry, I am really new to C#
I managed to handle keyboard events inside the text box and get the correct key values,
by following NinjaTrader_Matthew's code:
https://forum.ninjatrader.com/forum/historical-beta-archive/version-8-beta/77882-disabling-keydown-event-in-chart?_gl=1*meh2sa*_gcl_au*MjA5ODk4ODUuMTcyOTM5MDY 2NA..#post685973
I am trying to do the same thing for mouse events, but it didn't work.
textBox.MouseLeftButtonDown += TextBox_MouseLeftButtonDown;
The error message:
The name "TextBox_MouseLeftButtonDown" does not exist in the current context
I hope support team could give me some directions or sample codes.
Thanks so much!

Comment