ScrollBox skin problem

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

      Hello!

      You can try several ways:

      1. RedrawWindow(sScrollBox1.Handle, nil, 0, RDW_ALLCHILDREN + RDW_INVALIDATE + RDW_UPDATENOW);

      2. InvalidateRect(sScrollBox1.Handle, nil, False);

      3. sScrollBox1.SkinData.Invalidate;

      Can you make a demo for a debugging, please?

      #48999
      Victor
      Participant
        'Support' wrote:

        Hello!

        You can try several ways:

        1. RedrawWindow(sScrollBox1.Handle, nil, 0, RDW_ALLCHILDREN + RDW_INVALIDATE + RDW_UPDATENOW);

        2. InvalidateRect(sScrollBox1.Handle, nil, False);

        3. sScrollBox1.SkinData.Invalidate;

        Can you make a demo for a debugging, please?

        Thanks for your help. Unfortunately neither of these solutions works for me. I'm attaching a Demo project with this issue for debugging.

        Please let me know if you have any news.

        Thanks again and best regards

        #49000
        Hamilton
        Participant

          Hey Victor can you post the attachment pls?

          #49001
          Victor
          Participant
            'Hamilton' wrote:

            Hey Victor can you post the attachment pls?

            Oh, sorry! Here it is.

            #49003
            Hamilton
            Participant

              Hola Victor,

              I don't have C++ Builder so I couldn't run your demo but I did convert the core of it to Delphi and I'm unable to reproduce the problem. Can you run the exe in the attachment and confirm it looks OK on your system? If you have Delphi, are you able to compile the code and get the same result?

              The problem may be specific to C++ in which case I'm unable to help. The AC team may be able to do more but they're likely to want to know your C++ and AC versions, so if you provide that it may get you a quicker result.

              Sorry I can't do more. Buena suerte.

              Regards,

              Hamilton

              #49002
              Support
              Keymaster

                Hello Victor, thank you for the demo.

                I see an issue there and I'll fix it soon.

                For a quick solving this problem you can change VertScrollbar.Tracking property to True 🙂

                #49011
                Victor
                Participant
                  'Hamilton' wrote:

                  Hola Victor,

                  I don't have C++ Builder so I couldn't run your demo but I did convert the core of it to Delphi and I'm unable to reproduce the problem. Can you run the exe in the attachment and confirm it looks OK on your system? If you have Delphi, are you able to compile the code and get the same result?

                  The problem may be specific to C++ in which case I'm unable to help. The AC team may be able to do more but they're likely to want to know your C++ and AC versions, so if you provide that it may get you a quicker result.

                  Sorry I can't do more. Buena suerte.

                  Regards,

                  Hamilton

                  Thank you so much for your help Hamilton.

                  Your .exe has no problem. I have Delphi and I get same results so this may be specific to C++.

                  My versions are:

                  Embarcadero RAD Studio 2010 (C++ and Delphi)

                  AlphaControls 7.69

                  Regards.

                  'Support' wrote:

                  Hello Victor, thank you for the demo.

                  I see an issue there and I'll fix it soon.

                  For a quick solving this problem you can change VertScrollbar.Tracking property to True 🙂

                  I changed this property but I can't see any change. I'll wait this fix.

                  Thanks for your quick help!

                  Regards,

                  Víctor

                  #49019
                  Support
                  Keymaster
                    'Victor' wrote:
                    I changed this property but I can't see any change.

                    It's strange, can you send me an Exe where Tracking is True, please?

                    PS. Another quick solution – replace TPageControl by TsPageControl component (TTabSheet too).

                    #49067
                    Victor
                    Participant
                      'Support' wrote:

                      It's strange, can you send me an Exe where Tracking is True, please?

                      PS. Another quick solution – replace TPageControl by TsPageControl component (TTabSheet too).

                      Here it is. I also attach the project with Tracking in True.

                      Now I will probe replacing controls. I'll post if there are any news.

                      Thanks again

                      #49068
                      Victor
                      Participant
                        'Victor' wrote:

                        Here it is. I also attach the project with Tracking in True.

                        Now I will probe replacing controls. I'll post if there are any news.

                        Thanks again

                        Replacing controls works perfectly. Thanks you very much!

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