Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bug: Cancel not working with expandable property

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

    Bug: Cancel not working with expandable property

    If I change an ordinary property on the Indicators dialog and then Cancel to close, it all works fine. I bring the dialog back up and the original value is restored, as it should be. Working fine. If I do the some thing with a property under an expandable object, though, the change is remembered. When I bring the dialog back up the change is there, not the original value that should be there. Not so fine.

    To minimize any chance it is a problem with my code I produced the problem with SimpleFont. My test indicator has a uint property and SimpleFont property. Change the uint and also the state of SimpleFont's bold and italic properties. Then Cancel the dialog and bring it back up -- the uint is restored to its original value, but the SimpleFont bold and italic are the changed values -- they did not get restored.

    (Jesse -- you can demonstrate this with the last test code I sent you.)

    #2
    Thank you for your report, ETFVoyageur!

    This has been reported to development.

    Comment


      #3
      n/m -- if I think this comment was relevant I'll re-post it later on

      (To avoid possible confusion, I am not withdrawing the original report -- that remains accurate.)
      Last edited by ETFVoyageur; 08-09-2016, 12:57 AM.

      Comment


        #4
        Cancel this bug report. I think the problem was with software that was not handling cloning correctly. I have fixed the software and can no longer reproduce the problem.

        --EV

        Comment


          #5
          Originally posted by ETFVoyageur View Post
          Cancel this bug report. I think the problem was with software that was not handling cloning correctly. I have fixed the software and can no longer reproduce the problem.
          Was it fixed by serializing the class correctly?

          Comment


            #6
            Originally posted by bltdavid View Post
            Was it fixed by serializing the class correctly?

            Hard to tell. I think the fix was when I noticed a cloning bug and fixed that.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cre8able, Today, 01:16 PM
            2 responses
            9 views
            0 likes
            Last Post cre8able  
            Started by chbruno, 04-24-2024, 04:10 PM
            3 responses
            48 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by samish18, Today, 01:01 PM
            1 response
            7 views
            0 likes
            Last Post NinjaTrader_LuisH  
            Started by WHICKED, Today, 12:56 PM
            1 response
            9 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Started by WHICKED, Today, 12:45 PM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_Gaby  
            Working...
            X