Scrollbars with paintBox lazarus / 39-Graphics ---------------------------------------------------------------------- sermo!! · 2011-09-15 08:46 Hi!! I'm spanish so my english is not very good, sorry!! I have a paintBox in a Form and I use Canvas there. I need to paint a lot of rectangles in the PaintBox so my PaintBox is higher than my Form, so I need to use scrollbars in my form. The problem is that when I push the "arrow" or the "button" of the scrollbar to see all my paintBox (the part of my PaintBox that I can't see) the PaintBox and the Canvas go down too, so I can't see it!!! However, If I have other button on the form, and when I push the scrollbar the button is all time in the same place. How can I work out it?? Thanks. ---------------------------------------------------------------------- User137 · 2011-09-15 08:58 The solution is maybe putting the TPaintBox inside a TScrollBox.