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 fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,404 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    95 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    8 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    160 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    9 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X