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 frslvr, Today, 04:29 PM
        0 responses
        1 view
        0 likes
        Last Post frslvr
        by frslvr
         
        Started by wjadevries, Today, 04:18 PM
        0 responses
        1 view
        0 likes
        Last Post wjadevries  
        Started by shahabjet1, Today, 03:47 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by JTizz, Today, 03:21 PM
        1 response
        6 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by EB Worx, Today, 02:49 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X