TsScrollBox Scroll Freeze up

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #35341
    John
    Participant

    Hi, I'm using v7.68. I have a Scrollbox component (doesn't matter if using TScrollBox or TsScrollBox) on a form that loads buttons inside at run time. The form is used modally (doesn't matter if modal or non-modal). The app freezes when a user attempts to scroll clicking in the vertical scroll bar area (not the thumb). This only seems to happen when “Smooth”=true. (not sure if this has any effect, but “tracking”=true)

    John

    #48867
    Hamilton
    Participant

    Hi John,

    Where is the smooth property you mention?

    I just created a test app with a button and a scrollbox; the button creates another button on the scrollbox with a left and top position that places the button off the screen and makes the control scrollable – it works fine.

    You say the problem exists when you use TScrollBox – surely that indicates the problem is in your code then not in the TsScrollBox? Apologies if I've misunderstood. If you can post any code I'll help you debug.

    Regards,

    Hamilton

    #48877
    Support
    Keymaster

    Hello John

    What is your IDE? Can you make a demo, please?

    #48879
    John
    Participant

    Please see attached EXE demo…

    #48880
    Support
    Keymaster

    Thank you. Please describe your system where you have a problem.

    You tried this Exe before uploading and had an error there?

    #48907
    John
    Participant

    Yes. I develop (D7) on Win7 64bit. Your response suggests you didn't experience the same issue when running the exe? I will test on some other boxes.

    #48908
    John
    Participant

    Just tested on an XP box and all was good. Tried running the app on my win7 with compatibility to XP3 earlier and it still froze. Weid, anyways I will turn smooth off just to be safe.

    John

    #48909
    CheshireCat
    Participant

    Hello John,

    take a look to this Site. Maybe there is your problem?

    Best regards

    #48911
    John
    Participant

    Nice find. Seems like it's the problem, but I beleive I tested my app with the AC removed and it seemed to work ok. Anyways, smooth definitely seems to be the culprit.

    Thanks for the help!

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