Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How can I hide the Tab in a Add On Window?

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

    How can I hide the Tab in a Add On Window?

    Hi,

    I would like to implement in my AddOn the same option we have in the charts menu: "Show Tabs" in which we can hide the tabs. Is that possible on a AddOn?

    Thank you!
    jmneto

    #2
    Hello jmneto,

    Thanks for your post.

    Looking into NTWindow and NTWindow.MainTabControl for hints, you should be able to set the NTWindow.AreTabsVisible bool to accomplish this.

    NTWindow w = Window.GetWindow(this) as NTWindow;
    w.AreTabsVisible = !w.AreTabsVisible;

    Please let us know if we can be of further assistance.

    Comment


      #3
      Thx, from public AddOnFrameworkWindow() I just did this.AreTabsVisible = false and it works. Thank you!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      365 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      237 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      205 views
      1 like
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      290 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      250 views
      0 likes
      Last Post CarlTrading  
      Working...
      X