Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ApplyDefaultValue

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

    ApplyDefaultValue

    Hi,

    The ApplyDefaultValue() method in BarsTypes doesn't update the property grid. In order to see the new default value you need to preset and restore the bar type settings, or cycle through to a different bar type and return back to your desired bar type. Is there a way to force refresh the property grid so the settings made in ApplyDefaultValue() become visible in the property when a new chart using that bar type is being created?

    #2
    Hello Zeos6,

    Thanks for your post.

    There is not a supported way to do this. From an end user standpoint, the default values would not be modified so the end user would not have to take these steps. From a development standpoint, defaults could be programmed initially and you may test with your own values in the Data Series window. You may then set your final values in ApplyDefaultValue() when you are finished testing.

    If restoring the preset is an inconvenience for loading new values as you are developing, I would recommend taking the approach described above.

    Please let us know if we can be of further assistance.

    Comment


      #3
      Thanks for the clarification Jim.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CaptainJack, 05-29-2026, 05:09 AM
      0 responses
      88 views
      0 likes
      Last Post CaptainJack  
      Started by CaptainJack, 05-29-2026, 12:02 AM
      0 responses
      57 views
      0 likes
      Last Post CaptainJack  
      Started by charlesugo_1, 05-26-2026, 05:03 PM
      0 responses
      119 views
      0 likes
      Last Post charlesugo_1  
      Started by DannyP96, 05-18-2026, 02:38 PM
      1 response
      195 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 05-11-2026, 05:56 AM
      0 responses
      176 views
      0 likes
      Last Post CarlTrading  
      Working...
      X