Autor Beitrag
DaClown
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Sa 23.08.03 12:16 
Hi,

ich habe ein Proggi geschrieben, dass nur im Tray sichtbar sein soll.
Dazu habe ich ShowWindow(application.handle,sw_hide); (ode so ähnlich) verwendet was im onshow event drin steht. Das Problem ist nun das onShow wohl zu langsam ist, auf jeden Fall erscheint das Programm ganz kurz in der Taskleiste und verschwindet dann wieder. Das sieht aber doof aus. Wie kann ich das abstellen ??

Danke

Moderiert von user profile iconTino: Titel geändert.
Setsuna Meio
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 70

Windows
Delphi
BeitragVerfasst: Sa 23.08.03 12:22 
Hallöchen,

schonmal im OnCreate versucht?

^^

_________________
Pluto, schicke das Feuer der Tiefe...
DaClown Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Sa 23.08.03 22:39 
Coole Sache, funzt top, ich dachte onCreate ist das Event wenn das Programm gestartet wird ... Danke
recall
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Sa 23.08.03 23:48 
DaClown hat folgendes geschrieben:
Coole Sache, funzt top, ich dachte onCreate ist das Event wenn das Programm gestartet wird ... Danke

OnCreate wird beim Erzeugen des Formulars ausgelöst.
Und erzeugt wird es ja beim Programmstart.

Dazu kannst du ja mal Delphi starten, dann im Menü auf Projekt, Optionen und auf die Registerseite Formulare gehen:
Da sind deine Formulare vermutlich alle in AutoCreate Forms verzeichnet, die kann man auch nach rechts schieben, dann würden sie beim Programmstart NICHT mehr automatisch erzeugt ;) .

Viele Grüsse.
DaClown Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Mo 25.08.03 11:15 
irgendwie funzt es doch nicht, am anfang ist die form immer zu sehen und das zuppeln ist auch noch ...
gibts vieleicht noch ne andere möglichkeit das da nicht anzuzeigen ?
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mo 25.08.03 11:36 
Informier dich mal nach "Application.ShowMainForm := False" :wink:

_________________
Viele Grüße
Jakob
DaClown Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 68



BeitragVerfasst: Mo 25.08.03 11:54 
Hm, schon besser, aber zuppeln tut es immer noch ... ist mein PC zu lahm oder liegt das an XP ?
DeCodeGuru
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1333
Erhaltene Danke: 1

Arch Linux
Eclipse
BeitragVerfasst: Mo 25.08.03 12:00 
ups, sorry, verlesen :oops: Aber versuchs mal im OnActivate-Ereignis.

_________________
Viele Grüße
Jakob