Any way to shrink part of a form? lazarus / 31-LCL ---------------------------------------------------------------------- egsuh · 2022-01-07 07:55 Hi, Is there any way to shrink part of a form? Imagine that a form is divided in two parts --- upper half and lower half. That is, upper and lower half could be with each panels. And i'd like to minimize lower part, with just a small + button remaining, and the upper part of the form cover the whole part. Then if I press + button again, then the lower half is restored. I can put spilitter and reduce and expand any part. I'm looking for ways of showing / not showing whole part, not resizing. ---------------------------------------------------------------------- balazsszekely · 2022-01-07 08:10 If I understood correctly:   - set PanelUpper align to alClient   - set PanleLower align to alBottom   - set PanelLower height to 10, so the + button is visible When you click the plus button, set the height of the lower panel to whatever value you need: PanelLower.Heigth := 100; then back to 10 when needed. ---------------------------------------------------------------------- speter · 2022-01-07 09:46 For an example, have a look at the attached project. cheers S. ---------------------------------------------------------------------- egsuh · 2022-01-07 11:39 Thank you for the advices. I could use GroupBox, so that just the caption of GroupBox is shown when shrinked. But I still hope that a genuine such control is available -- in such a way that have a small button on the right upper corner of GroupBox, etc.