Can't change ScrollBox size lazarus / 10-Designer ---------------------------------------------------------------------- carlangas · 2009-11-13 18:05 I'm showing a large Panel into a ScrollBox. The ScrollBox is anchored to its parent Form, so it should resize proportionally with the form. When I resize the form to make it bigger, everything works ok, but if I make it smaller, the scrollbars disappear, keeping its Page property a few pixels smaller than at first. How could I force scrollbars stay after resizing? The ScrollBox.Anchors property is set all to True, but have tried changing and everything goes the same. The same for ScrollBox.AutoScroll and ScrollBox.AutoSize. ---------------------------------------------------------------------- theo · 2009-11-13 18:40 Works here using Lazarus 0.9.29 r22524 FPC 2.2.4 i386-linux-gtk 2 (beta) ---------------------------------------------------------------------- carlangas · 2009-11-13 18:49 Maybe it's a bug on 0.9.28 version tha I'm using, but I have another similar form and works ok, so I think it must be any misconfigured property. ---------------------------------------------------------------------- Martin_fr · 2009-11-13 19:53 why don't you attach a sample? Then me or someone else can confirm if it happens here too. (try to reduce the sample to the minimum required.) ---------------------------------------------------------------------- carlangas · 2009-11-15 22:31 That was the thing: it didn't happen to me again! I have found what was wrong: The HorzScrollBar VertScrollBar properties on the form, but them aren't accessible via ObjectInspector, so I had to edit directly the .lfm file. Maybe it is a bug, because I don't remember editing this file before.