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 dcriador, Today, 09:33 AM
      0 responses
      4 views
      0 likes
      Last Post dcriador  
      Started by dcriador, Yesterday, 10:45 AM
      4 responses
      29 views
      0 likes
      Last Post dcriador  
      Started by reynoldsn, Today, 09:01 AM
      2 responses
      9 views
      0 likes
      Last Post reynoldsn  
      Started by dcriador, Yesterday, 08:56 AM
      2 responses
      23 views
      0 likes
      Last Post dcriador  
      Started by Haiasi, Today, 09:16 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Erick  
      Working...
      X