Board index » delphi » Minimizing Forms

Minimizing Forms

Quote
vit...@io.org (Vitaly Livshits) wrote:
>I currently have a project with the following configuration: one main
>form and another (secondary) form. The second form has the minimize
>button enabled. The problem is that when I click that button, the main
>form remains at the same place and the second form is minimized ABOVE
>the taskbar. I want both forms to minimize "into" the taskbar
>(Application.Minimize). How can I do it?
>Any suggestions/source code is appreciated.
>Vitaly
>vit...@idirect.com

I found the answer 10 lines higher in the newsgroup...

The easiest way is to use this freeware component I found on the net.
It
includes the source code:

http://ns1.ntrnet.net/~bstowers/delphi/

Check out the "Other Components" section, and then the TTrayIcon
component.
 Works great!

--
Rodney M. Savard
Kennewick, Washington, USA
rsav...@oneworld.owt.com
http://www.owt.com/users/rsavard

Thanks Rodney M. Savard

Patrick

 

Re:Minimizing Forms


  Thanks for you suggestion, but I am not looking for a Tray Icon component.
What I am looking for is something that can handle the from minimize message
and respond to it by minimizing the application (into the regular task bar
area).

Quote
>>I currently have a project with the following configuration: one main
>>form and another (secondary) form. The second form has the minimize
>>button enabled. The problem is that when I click that button, the main
>>form remains at the same place and the second form is minimized ABOVE
>>the taskbar. I want both forms to minimize "into" the taskbar
>>(Application.Minimize). How can I do it?

>>Any suggestions/source code is appreciated.

>>Vitaly
>>vit...@idirect.com

>I found the answer 10 lines higher in the newsgroup...

>The easiest way is to use this freeware component I found on the net.
>It
>includes the source code:

>http://ns1.ntrnet.net/~bstowers/delphi/

>Check out the "Other Components" section, and then the TTrayIcon
>component.
> Works great!

Re:Minimizing Forms


Reposting article removed by rogue canceller.

  Thanks for you suggestion, but I am not looking for a Tray Icon component.
What I am looking for is something that can handle the from minimize message
and respond to it by minimizing the application (into the regular task bar
area).

Quote
>>I currently have a project with the following configuration: one main
>>form and another (secondary) form. The second form has the minimize
>>button enabled. The problem is that when I click that button, the main
>>form remains at the same place and the second form is minimized ABOVE
>>the taskbar. I want both forms to minimize "into" the taskbar
>>(Application.Minimize). How can I do it?

>>Any suggestions/source code is appreciated.

>>Vitaly
>>vit...@idirect.com

>I found the answer 10 lines higher in the newsgroup...

>The easiest way is to use this freeware component I found on the net.
>It
>includes the source code:

>http://ns1.ntrnet.net/~bstowers/delphi/

>Check out the "Other Components" section, and then the TTrayIcon
>component.
> Works great!

Other Threads