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 cls71, Today, 04:45 AM
    0 responses
    1 view
    0 likes
    Last Post cls71
    by cls71
     
    Started by mjairg, 07-20-2023, 11:57 PM
    3 responses
    213 views
    1 like
    Last Post PaulMohn  
    Started by TheWhiteDragon, 01-21-2019, 12:44 PM
    4 responses
    544 views
    0 likes
    Last Post PaulMohn  
    Started by GLFX005, Today, 03:23 AM
    0 responses
    3 views
    0 likes
    Last Post GLFX005
    by GLFX005
     
    Started by XXtrader, Yesterday, 11:30 PM
    2 responses
    12 views
    0 likes
    Last Post XXtrader  
    Working...
    X