Recent

Author Topic: [SOLVED] Minimized Form on Main Form  (Read 3353 times)

laz_inv

  • New Member
  • *
  • Posts: 10
[SOLVED] Minimized Form on Main Form
« on: October 04, 2016, 08:37:50 am »
Hi,

is it possible to show a minimized Form in the left corner of the Main Form? My Main Form is maximized.

Thanks for any help.
« Last Edit: October 04, 2016, 03:25:00 pm by laz_inv »

Handoko

  • Hero Member
  • *****
  • Posts: 5513
  • My goal: build my own game engine using Lazarus
Re: Minimized Form on Main Form
« Reply #1 on: October 04, 2016, 09:19:42 am »
Not sure what you want to do. Have you tried TFrame?wiki.lazarus.freepascal.org/Frames

laz_inv

  • New Member
  • *
  • Posts: 10
Re: Minimized Form on Main Form
« Reply #2 on: October 04, 2016, 10:18:01 am »
Hmm not really.
I have a Main Form which is maximized on create. With a button I show the next form (e.g. Form2) in wsNormal. If I want to minimize Form2 I want that I can see the minimized Form2 in the left corner of the Main Form so that I can restore it by clicking on it.

Thaddy

  • Hero Member
  • *****
  • Posts: 18704
  • To Europe: simply sell USA bonds: dollar collapses
Re: Minimized Form on Main Form
« Reply #3 on: October 04, 2016, 10:20:30 am »
Have a look at the MDI emulation subjects on this forum.
If Europe sells their USA bonds the USD will collapse. Europe can affort that given average state debts. The USA can't affort that. Just an advice...

laz_inv

  • New Member
  • *
  • Posts: 10
Re: Minimized Form on Main Form
« Reply #4 on: October 04, 2016, 10:46:02 am »
Quote
Have a look at the MDI emulation subjects on this forum.

Thanks.
Okay but when I set the Main Form FormStyle to fsMDIForm and the second form to fsMDIChild it does nothing more than with fsNormal.

I found the solution: I set FormStyle of the second form to fsStayOnTop.
« Last Edit: October 04, 2016, 03:24:44 pm by laz_inv »

 

TinyPortal © 2005-2018