Thema: Delphi close in OnCreate

Einzelnen Beitrag anzeigen

Benutzerbild von toms
toms
(CodeLib-Manager)

Registriert seit: 10. Jun 2002
4.648 Beiträge
 
Delphi XE Professional
 
#2

Re: close in OnCreate

  Alt 1. Apr 2004, 16:48
Hi,

Mache die Überprüfung in der Projektedatei:


Delphi-Quellcode:
program Project1;

uses
  Forms,
  SysUtils,
  Unit1 in 'Unit1.pas{Form1};

{$R *.res}


begin
  if not FileExists('{dateiname}') then
    Exit;
  Application.Initialize;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.
Thomas
  Mit Zitat antworten Zitat