Recent

Author Topic: [SOLVED] Minimize Borderless form  (Read 332 times)

pcurtis

  • Sr. Member
  • ****
  • Posts: 351
[SOLVED] Minimize Borderless form
« on: October 24, 2020, 04:38:21 pm »
Hi All,

How can I minimize a borderless form to the taskbar? (Win 10)

Thanks in advance.
« Last Edit: October 24, 2020, 05:56:35 pm by pcurtis »
Windows 10 / Linux Mint 20
Laz 2.10.0
FPC 3.2.0

Blaazen

  • Hero Member
  • *****
  • Posts: 2994
  • POKE 54296,15
    • Eye-Candy Controls
Re: Minimize Borderless form
« Reply #1 on: October 24, 2020, 04:45:58 pm »
By code?
Code: Pascal  [Select][+][-]
  1. Form1.WindowState:=wsMinimized;
Lazarus 2.1.0 r64115 FPC 3.3.1 r40507 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

pcurtis

  • Sr. Member
  • ****
  • Posts: 351
Re: Minimize Borderless form
« Reply #2 on: October 24, 2020, 05:21:23 pm »
That doesn't minimize to the taskbar.
Windows 10 / Linux Mint 20
Laz 2.10.0
FPC 3.2.0

jamie

  • Hero Member
  • *****
  • Posts: 3797
Re: Minimize Borderless form
« Reply #3 on: October 24, 2020, 05:41:25 pm »
If this is the only form in your app try using Application.Minimize;


The only true wisdom is knowing you know nothing

pcurtis

  • Sr. Member
  • ****
  • Posts: 351
Re: Minimize Borderless form
« Reply #4 on: October 24, 2020, 05:55:41 pm »
OK. Thanks.
Windows 10 / Linux Mint 20
Laz 2.10.0
FPC 3.2.0

Gald

  • New Member
  • *
  • Posts: 14
Re: [SOLVED] Minimize Borderless form
« Reply #5 on: October 25, 2020, 03:25:31 pm »
Similar question here.
Can I steal your post?

Maximize a borderless Form without making it fullscreen?
At least on Windows, the toolbar is hidden. I don't know in other SOs.

pcurtis

  • Sr. Member
  • ****
  • Posts: 351
Re: [SOLVED] Minimize Borderless form
« Reply #6 on: October 25, 2020, 03:44:31 pm »
It's a free world.
Windows 10 / Linux Mint 20
Laz 2.10.0
FPC 3.2.0

 

TinyPortal © 2005-2018