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 Tab Functionality Qs

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

    AddOn Tab Functionality Qs

    I am creating an AddOn and followed the basic ninja provided framework.

    1. Is there any way to hide/show the tabs like in a chart window using the context menu? It appears that AreTabsVisible needs to be used.

    2. How does one implement the tab rename functionality? The menu item is present to rename, but nothing happens when activated. Normally, chart properties would come up.

    3. Is there any notion of AddOn properties similar to Chart Properties? Is there an example of how one would display a properties dialog?

    #2
    Hello aslane,

    I'm fairly sure I have all of the pieces to put this together, but I'm not even sure if it will work.



    The AreTabsVisible you have found.

    The TabName can be set, but I'm uncertain about the method being triggered from the Rename tab menu option.

    I'll provide an example if I am able to work something out.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello aslane,

      I wanted to let you know I'm still looking into this.

      However, if you are ok with a little more of a wait, a seasoned member of our platform support team is going to make this script as a learning experience with NinjaScript Addons.

      The tools I'm using that I have provided in my previous post, (along with searching methods and classes in visual studio and using MSInspect) are also available to you if you want to start in this direction as well.
      The tab visible work will be similar to the WPF examples.
      https://ninjatrader.com/support/foru...ions#post96376

      While I can not make any guarantees, I'm expecting we'll have something up in the near future to demonstrate opening a property grid when selecting rename with action to change the TabName of the visible tab.
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        Looking forward to it. Thanks.

        Comment


          #5
          hi everyone, I was also looking for some information. Finally found it! thank you, I look forward to it!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by techgetgame, Today, 11:42 PM
          0 responses
          6 views
          0 likes
          Last Post techgetgame  
          Started by sephichapdson, Today, 11:36 PM
          0 responses
          1 view
          0 likes
          Last Post sephichapdson  
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,612 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          9 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          19 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Working...
          X