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 Mizzouman1, Today, 07:35 AM
    4 responses
    18 views
    0 likes
    Last Post Mizzouman1  
    Started by philmg, Today, 01:17 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by cre8able, Today, 01:01 PM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by manitshah915, Today, 12:59 PM
    1 response
    3 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by ursavent, Today, 12:54 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X