Recent

Author Topic: Application.Minimize?  (Read 5419 times)

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Application.Minimize?
« on: June 04, 2011, 08:16:37 pm »
Hello,

I have been testing a custom form with close, minimize and maximize buttons
(sample custom_forms on https://lazsamples.googlecode.com/svn/trunk/.

Lazarus 0.9.30-0 r FPC 2.4.2 i386-linux-gtk 2

Unfortunately, i have some problems in GTK widgetset:

Application.Minimize; //doesn't work,
Form1.WindowState := wsMinimized; //doesn't work too

Anyone has experienced this too?
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

typo

  • Hero Member
  • *****
  • Posts: 3051
Re: Application.Minimize?
« Reply #1 on: June 04, 2011, 09:28:18 pm »
Application.Minimize works fine here, but Form1.WindowState := wsMinimized causes a weird behavior.

Lazarus 0.9.30 r29749 FPC 2.4.2 i386-win32-win32/win64