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.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    656 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    371 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    109 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    574 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    579 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X