Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi öffnen ohne Button (https://www.delphipraxis.net/52544-oeffnen-ohne-button.html)

BUBBELBOY 30. Aug 2005 18:15


öffnen ohne Button
 
hey leute
ich brauch mal wieder eure hilfe...

wie muss ich des programmieren, dass wenn man später bei der fertigen exe-datei draufklickt, dass z.B. 5 formulare geöffnet werden???
also ohne dass man erstmal einen button drücken muss...
ich schaff des bisher nur so, dass man die exe anklickt, sich ein formular mit einem button öffnet, ich dann den button drücke und sich dann 5 weitere formulare öffnen...geht des au ohne deb button dazwischen???
Helft mir bitte

Phistev 30. Aug 2005 18:30

Re: öffnen ohne Button
 
Beschäftige dich mit den Events OnFormCreate und OnFormShow, dort kann man sowas machen

Nils_13 30. Aug 2005 18:37

Re: öffnen ohne Button
 
5 Formulare :shock:

jensw_2000 30. Aug 2005 18:48

Re: öffnen ohne Button
 
oder einfach [Form].visible:=true bei den 5 Forms ...

Hador 30. Aug 2005 18:58

Re: öffnen ohne Button
 
Guck dir mal den Projektquellcode an (der inner *.dpr)

Delphi-Quellcode:
...
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
...

Khabarakh 30. Aug 2005 19:13

Re: öffnen ohne Button
 
Oder über Projekt -> Optionen -> Formulare, dann passt Delphi selbstständig den dpr-Code an.

Zitat:

Zitat von Nils_13
5 Formulare :shock:

Schonmal die Formulare von Delphi nach dem Start gezählt :roll: ?


Alle Zeitangaben in WEZ +1. Es ist jetzt 13:25 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz