Back

To change the Icon of your program when it is minimized by the user, use the following code:

procedure TForm1.FormResize(Sender: TObject);
begin
    Form1.Icon.LoadFromFile('c:\windows\nps5383.ico');
end;


Back