I am trying to create a numeric input TextBox widget on the Chart Trader panel. I'm using a TextBox() with no additional styling. When I try to type into the box, the instrument selection overlay comes up. How do I get keyboard focus to my TextBox?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
TextBox in chart trader brings up instrument selection
Collapse
X
-
TextBox in chart trader brings up instrument selection
Hello,
I am trying to create a numeric input TextBox widget on the Chart Trader panel. I'm using a TextBox() with no additional styling. When I try to type into the box, the instrument selection overlay comes up. How do I get keyboard focus to my TextBox?
Tags: None
-
Hello mattbsea,
The intended functionality is for the instrument overlay selector to appear when typing on the chart.
However, you can add an event handler method to the key press up event and call argument.Handled() to prevent the default intended behavor.
Below is a link to an example.
Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
560 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
325 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
547 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment