Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.


    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 rocketman7, Today, 02:12 AM
    2 responses
    16 views
    0 likes
    Last Post rocketman7  
    Started by briansaul, Today, 05:31 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PaulMohn, Today, 03:49 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by frslvr, 04-11-2024, 07:26 AM
    6 responses
    106 views
    1 like
    Last Post NinjaTrader_BrandonH  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    6 responses
    26 views
    0 likes
    Last Post trilliantrader  
    Working...
    X