Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
QuantityUpDown value update by keyboard
Collapse
X
-
QuantityUpDown value update by keyboard
I want to use a custom QuantityUpDown field that I have added to the Chart Trader panel to behave the same as the "Order Qty" field when entering a quantity by keyboard. I'm using a PreviewKeyDown event to update the content of the field. But can't find any QuantityUpDown properties to determine if the content in the field is selected. Or to determine where in the field the cursor is located. Is there an example of how I can make it behave like other standard NT up/down fields when values are entered by keyboard?Tags: None
-
I see the example in the AddOn framework. But can't seem to identify on how it's different from what I'm doing:
private QuantityUpDown qty = new QuantityUpDown();
This is added the the Chart Trader panel grid. But keyboard input does not work the same on my field compared to the standard Ninjatrader Order Qty field.
Comment
-
Also found this forum post describing the same issue. https://ninjatrader.com/support/foru...-from-keyboard
The script in that thread is not really a good solution and you end up with a QuantityUpDown field that behaves different from the standard NT quantity fields.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
593 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
554 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment