On Thu, 01 Nov 2007 22:39:29 +0100
Bogusław Brandys <[EMAIL PROTECTED]> wrote:

> Under Win32 scrolling TScrollBox is not possible now when
> AutoScroll := true Scrollbox area jumps a little and then all window
> freeze (the only way is to wait or switch focus to another
> application and back to unfreeze) TScrollBox.Range is calculated on
> each click on scrollbar !
> 
> Attached is my proposition of fix.Please analyze it.
> There are still two problems which remain after applying this patch :
> 
> 
> 
> 1.When controls placed on TScrollBox and aligned  , they are scrolled 
> down instead of up (I feel that it was caused by changes done
> 2007-11-01)

The scrolling under win32 worked always differently than under gtk.
It is planned to reimplement the scrolling under win32.


> 2. When TScrollBox is scrolled a little and then parent window is 
> resized - controls placed on scrollbox are moved (usually a little
> but sometimes more) - I feel that it worked once I tested but still
> today was so many changes in that area :-(

There were two changes in this area. The auto size code now uses the
logical client area instead of the visual.

And there were some fixes, so some workarounds do no longer work.

 
> In other cases it works like a charm , for example check lazreport 
> designer :-)


Mattias

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to