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 rsfolfsd, Today, 09:51 AM
    0 responses
    3 views
    0 likes
    Last Post rsfolfsd  
    Started by jeanne, Today, 03:43 AM
    1 response
    16 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Started by Titli, Today, 09:36 AM
    0 responses
    10 views
    0 likes
    Last Post Titli
    by Titli
     
    Started by Mongo, Today, 09:28 AM
    0 responses
    3 views
    0 likes
    Last Post Mongo
    by Mongo
     
    Started by akvevo, Today, 08:59 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ShawnB  
    Working...
    X