• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Any way for AddOn to known workspace changed

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

    Any way for AddOn to known workspace changed

    Is there any programmatic way to know that the workspace changed? For example an event that can be hooked to know that a new workspace is now current?

    #2
    Hi aslane, thanks for your post.

    There is no event method for a workspace close/switch. There is an open feature request ID to add a method to know when a workspace changes:#663. I'll add a vote to this for you.

    We appreciate your feedback.
    Chris L.NinjaTrader Customer Service

    Comment


      #3
      Actually, there is the following:
      Code:
      NinjaTrader.Core.Globals.ActiveWorkspaceChanged += OnActiveWorkspaceChanged;

      Comment


        #4
        Hi aslane, good find. I don't see this documented in the help guide
        Chris L.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by forrestang, Yesterday, 11:39 PM
        0 responses
        3 views
        0 likes
        Last Post forrestang  
        Started by luxurious_04, Yesterday, 08:08 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_EricB  
        Started by martyn73, Yesterday, 03:08 PM
        1 response
        10 views
        0 likes
        Last Post NinjaTrader_ChrisL  
        Started by raffu, Yesterday, 01:16 PM
        2 responses
        8 views
        0 likes
        Last Post raffu
        by raffu
         
        Started by fx.practic, Yesterday, 01:04 PM
        2 responses
        8 views
        0 likes
        Last Post fx.practic  
        Working...
        X