Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unable to type on added TextBox on Toolbar

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to type on added TextBox on Toolbar

    Hello NT,

    I have added a text box to the toolbar as per your examples. However, I have also added a textbox in the toolbar that is editable. However, when trying to type in that text box (update quantity) it does not allow me to change the vaules in the text box and instead defaults to using the charts overlay mechanism (i am going to refer to this as fast switch overlay).

    Is there a way to update the values in the text box instead of the overlay (or an example of a numeric updown control)?

    #2
    Hello WHICKED,

    Thanks for the post.

    That would be expected because the chart has focus and will grab the key events. You can see a sample of using a textbox in a chart in the following link, you will need to use the preview key events to handle the key presses.
    https://ninjatrader.com/support/foru...973#post685973

    You could also look at using a number stepper like the QuantityUpDown control to just click it. You can search for that control on the forums here for some examples if you wanted to go that route.


    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Tmaninc, Today, 03:05 AM
    0 responses
    10 views
    0 likes
    Last Post Tmaninc
    by Tmaninc
     
    Started by stormcloudseven, Yesterday, 08:41 PM
    2 responses
    17 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by DavidTrades, Yesterday, 08:05 PM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by memonolog, Today, 01:42 AM
    0 responses
    7 views
    0 likes
    Last Post memonolog  
    Started by hdge4u, Yesterday, 09:09 PM
    0 responses
    25 views
    0 likes
    Last Post hdge4u
    by hdge4u
     
    Working...
    X