[Closed] Effect of main form minimizing, other forms ! lazarus / 31-LCL ---------------------------------------------------------------------- loaded · 2022-03-18 08:13 Hi All, When the main form is minimized, other forms in the project are minimized. When the main form is minimized, are there any settings to preserve the current appearance of the other forms of the project on the screen? Or is this behavior by design? ---------------------------------------------------------------------- Thaddy · 2022-03-18 09:16 By design: it does not make sense to keep other forms open when the main form is minimized. Minimizing the main form should and does -by default -minimize the whole application. There are tricks to prevent this - ownership - but these are not recommended and can only be done in code, not the designer.. ---------------------------------------------------------------------- loaded · 2022-03-18 10:45 Got it, thanks a lot for the info Thaddy ---------------------------------------------------------------------- tetrastes · 2022-03-18 11:05 Quote from: Thaddy on March 18, 2022, 10:16:52 amBy design: it does not make sense to keep other forms open when the main form is minimized. Minimizing the main form should and does -by default -minimize the whole application. There are tricks to prevent this - ownership - but these are not recommended and can only be done in code, not the designer.. For me, on the contrary, there is sense to keep other forms open when the main form is minimized. And all my apps behave so. And you can easily do this in designer by setting in Object Inspector form property ShowInTaskBar to stAlways for all forms, that you need not to be minimized with the main form. ---------------------------------------------------------------------- balazsszekely · 2022-03-18 11:09 @loaded QuoteWhen the main form is minimized, other forms in the project are minimized. When the main form is minimized, are there any settings to preserve the current appearance of the other forms of the project on the screen? Or is this behavior by design?It is by design, but you can change it. Did you try to catch WM_SYSCOMMAND combined with SC_MINIMIZE? You should be able to do this relatively easily at least on windows. ---------------------------------------------------------------------- loaded · 2022-03-18 16:58 tetrastes thanks a lot for the info yes that worked (except it created an icon for each form in the taskbar)  Master GetMem, yes, this is a good idea, I'll try it at a convenient time. Thank you all so much for taking your precious time to reply. Respects.