Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

What is best way to know when new tab selected?

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

    What is best way to know when new tab selected?

    I have an inidicator that puts a control in the ChartWindow toolbar.
    When the user selects a different tab I would like to know it so I can change the visibility of the control.

    I am currently listening to the GetFocus event but that is firing when ever there is any focus change in the entire window, which includes menu pops, etc. Not specific enough.

    I would just like to listen to the event that notifies of tab selection change.

    Anyone know what that event is?

    Thanks,
    Gary

    #2
    Hello,

    Thank you for the question.

    This has previously been solved, The MainTabControl.SelectionChanged is used to determine the change of tabs.

    Please see the following links for further information and samples:



    Other examples; http://ninjatrader.com/support/forum...t=74225&page=4


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

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,279 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    19 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Started by Tim-c, Today, 02:10 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Taddypole, Today, 02:47 PM
    0 responses
    5 views
    0 likes
    Last Post Taddypole  
    Started by chbruno, 04-24-2024, 04:10 PM
    4 responses
    51 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Working...
    X