Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

detect chart resize

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

    detect chart resize

    hi
    i want to prevent my onrender method from working while the chart is in unstable condition i.e resizing or moved from monitor to monitor

    how can i detect that the chart is resizing or moving from within a script ?

    #2
    Hello doron,

    Thank you for your note.

    There is no means to prevent OnRender(). OnRender() is what is called when you resize or move the chart.

    Comment


      #3
      Just a thought...

      There are .NET approaches to detecting window resize events that you can Google. You could set a flag during resize that you can check for in OnRender() and prevent any code you may not want to run.
      RayNinjaTrader Customer Service

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      656 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      371 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      579 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X