[Lazarus] real user name
Andrea Mauri
andrea.mauri.75 at gmail.com
Tue Dec 2 22:02:57 CET 2008
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
More information about the Lazarus
mailing list