TPaintBox in a TScrollBox lazarus / 31-LCL ---------------------------------------------------------------------- Relativity · 2015-09-08 11:49 I would like to implement a TPaintBox larger than the TForm that hosts it. So I guess I should lay the TPaintBox in a TScrollBox, which in turn would be hosted by the TForm. But how do I make Lazarus understand that the TPaintBox I am laying must be hosted by the TScrollBox and not directly hosted by the TForm ? If anybody can suggest me any tutorial on TScrollBox on the internet I will study it by myself. I couldn't find one. Thank you. ---------------------------------------------------------------------- derek.john.evans · 2015-09-08 11:57 Just drop the TPaintBox on the TScrollBox. The TScrollBox will become the Parent. ---------------------------------------------------------------------- Relativity · 2015-09-08 14:13 Thank you very much. ---------------------------------------------------------------------- zeljko · 2015-09-08 15:48 You can drop it directly to the form and set form.autoscroll to true