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 Mestor, 03-10-2023, 01:50 AM
          16 responses
          388 views
          0 likes
          Last Post z.franck  
          Started by rtwave, 04-12-2024, 09:30 AM
          4 responses
          31 views
          0 likes
          Last Post rtwave
          by rtwave
           
          Started by yertle, Yesterday, 08:38 AM
          7 responses
          29 views
          0 likes
          Last Post yertle
          by yertle
           
          Started by bmartz, 03-12-2024, 06:12 AM
          2 responses
          22 views
          0 likes
          Last Post bmartz
          by bmartz
           
          Started by funk10101, Today, 12:02 AM
          0 responses
          7 views
          0 likes
          Last Post funk10101  
          Working...
          X