문제

I have searched here and found some offerings but none work for me as D5 (win8) does not appear to have the...

Application.MainFormOnTaskbar:=True;

It tosses an "undeclared identifier" error.

I have tried...

WindowState:=wsMinimized;

...but that shows as a small title-bar at the bottom of the screen. Interestingly enough, when I use the "-" at the top right of the main form, it does exactly what I need. It hides the main form but leaves the icon on the Taskbar that restores the main form when clicked.

How can I get the form to hide but still leave an icon on the Taskbar?

도움이 되었습니까?

해결책

You are looking for

Application.Minimize;
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top