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.

    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

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        42 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        20 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        29 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        46 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        38 views
        0 likes
        Last Post CarlTrading  
        Working...
        X