I think I have found a fix. In TScrollingWinControl.AlignControls
Index: lcl/include/scrollingwincontrol.inc
===================================================================
--- lcl/include/scrollingwincontrol.inc (revision 17661)
+++ lcl/include/scrollingwincontrol.inc (working copy)
@@ -62,7 +62,7 @@
inherited AlignControls(AControl, ARect);
HorzScrollBar.AutoCalcRange;
VertScrollBar.AutoCalcRange;
- if not AutoScroll then
+ if AutoScroll then
UpdateScrollBars;
end;
What do you think about the solution? It seams to work in carbon.
>From my point of view the older code is wrong because updating the
scrollbars upon control realignment is a behavior of autoscroll.
It would be great if someone with greater knowledge about scrolling
could take a look at this.
--
Felipe Monteiro de Carvalho
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus