Moin, ich hab da soein Problem. Ich hab ein Programm mit 2 Forms. Form1 ist immer sichtbar und im Vordergrund (fsStayOnTop). Form2 soll nur kurz sichtbar sein, dann allerdings auch im Vordergrund! Wie mache ich das, ohne FormStyle kurzzeitig zu ändern, denn dann geht wiederrum mein TrayIcon verlohren, warum weiss ich nicht.
Also, ich hab festgestellt dass Form1.FormStyle automatisch fsNormal wird, wenn ich Form2.FormStyle auf fsStayOnTop stelle, is ja auch logisch. Also geht das nicht.
Wie kann ich jetzt entweder,
die Form2 in den Vordergrund bringen OHNE Form1.FormStyle zu verändern, oder,
wie schaffe ich es dass mit das TrayIcon nicht verlohren geht, wenn ich Form1.FormStyle ändere?
cu RFZ
_________________
PC: Delphi 4, Windows ME, 512MB, 1.2GHz;
Notebook: Delphi 4, Windows XP, 256MB, 660-1.7GHz M, Windows 98*, Windows 98se*, Windows 95* (*VMware)