Board index » delphi » minimize to taskbar

minimize to taskbar

im using this code:
procedure TForm1.Button1Click(Sender: TObject);
begin
  WindowState := wsMinimized;
end;

but it minimizes right above my start button and not into my task bar how do
i get it to minimize into the task bar like every other normal program?

 

Re:minimize to taskbar


Try application.minimize;

Cheers,
Nick

Quote
"-" <-...@-.com> wrote in message

news:l98h9.1256$E53.124293@newsread2.prod.itd.earthlink.net...
Quote
> im using this code:
> procedure TForm1.Button1Click(Sender: TObject);
> begin
>   WindowState := wsMinimized;
> end;

> but it minimizes right above my start button and not into my task bar how
do
> i get it to minimize into the task bar like every other normal program?

Other Threads