Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

AddOn with Tabs - how to disable showing tabs?

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

    AddOn with Tabs - how to disable showing tabs?

    Would like to toggle off the chart equivalent of "Show Tabs" in my AddOn. Started with multiple tabs now just one want to reclaim screen real estate.

    How does one do this - must be one line of code but haven't found in documentation.

    Thanks!

    #2
    Hello JimB17,

    Thanks for your question.

    You can create an AddOn window without tabs. To do this, you will want to avoid inheriting the INTTabFactory and NTTabPage classes as well as using any TabControl code when you create an AddOn window.

    I have uploaded a sample AddOn in which I have commented out the necessary code and moved the LoadXaml() code which creates the Content for my window from the NTTabPage class to the NTWindow class.

    If you have any additional questions, please don't hesitate to ask.
    Attached Files
    JimNinjaTrader Customer Service

    Comment


      #3
      thanks for the quick response. however i have four different AddOns with thousands of lines all based on the NTTabPage interface.... did not want to change the entire class structure simply want to not show the tab control!

      guess i will live with what have until/unless you add a bool method to the tab manager somewhere...

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by funk10101, Today, 12:02 AM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Started by GLFX005, Today, 03:23 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Erick  
      Started by nandhumca, Yesterday, 03:41 PM
      1 response
      13 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by The_Sec, Yesterday, 03:37 PM
      1 response
      11 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by vecnopus, Today, 06:15 AM
      0 responses
      1 view
      0 likes
      Last Post vecnopus  
      Working...
      X