Canvas does not allow drawing

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #44253
    Support
    Keymaster

      Hello

      I see “Division by zero” message in the btnOkClick event.

      You haven't this error when skins are switched off?

      You have this error in all skins or only in skins where button have glowing effect?

      #44260
      Claudio
      Participant

        Hi Serge,

        skin is always enabled. In my computer test I cannot reproduce this error. Only one of my customer has this issue. I see that the “Division By Zero” error has resolved when I deleted the Application.ProcessMessagess in the btnOnClick event.

        >>You have this error in all skins or only in skins where button have glowing effect?

        In the skinManager the property AllowGlow is enabled, so yes, when the button have glowing effect.

        Thank you very much and Best Regards

        Claudio

        #44267
        Support
        Keymaster

          This error was occured in AlphaControls versions 7.1x too?

          #44276
          Claudio
          Participant

            Hi Serge,

            I don't test because the 7.1x is only in beta release.

            Next I need to support of the DevExpress v53 or v54.

            Have you an workaround for this issue? The problem is that this error occour in some my customers installation and I need to solve this in short time.

            Thank you very much

            Best Regards

            Claudio

            #44282
            Support
            Keymaster

              DevExpress v53 is supported, you have a problem?

              #44298
              Claudio
              Participant

                Hi Serge

                yes, you are right. But for the 7.1x version I have only beta release. It is correct?

                What's really strange is that I can not replicate the situation. Unfortunately I not have the same hw but I use the same S.O.

                I disabled all effects (also the property Allowglowing which by default is true, I set to False) but the problem persit.

                Thank's

                Claudio

                PS: Now I test with the 7.10 beta version and let you know

                #44308
                Claudio
                Participant

                  Hi Serge

                  I tested with 7.10 but the error still happens (randomly)

                  Best Regards

                  Claudio

                  #44329
                  Support
                  Keymaster
                    'Claudio' wrote:
                    I tested with 7.10 but the error still happens (randomly)

                    You mean that error may be reproduced on your PC now?

                    This error is linked with threads synchronization seems. Do you uses Synchronize method?

                    #44405
                    Claudio
                    Participant

                      Hi Serge,

                      I may have found the problem. In some form I need to draw vector objects very complex. To do this, I use the component VGScene.

                      The calculations (not the graphics) is performed in a separate thread (I use AsynCall) but to notify the user the status progress of jobs of these calculations the form is updated through calls to Application.ProcessMessages. From my tests it seems that the problem happens only in those forms that use both products (AlphaSkins and VGScene)

                      Do more tests and let you know

                      Best Regards

                      Claudio

                      #44505
                      Claudio
                      Participant

                        Hi Serge,

                        I removed all Application.ProcessMessages and the problem is solved

                        Now I try to test with the latest version

                        Best Regards

                        Claudio

                      Viewing 10 posts - 1 through 10 (of 10 total)
                      • You must be logged in to reply to this topic.