Thema: Vorm Start

Einzelnen Beitrag anzeigen

t0mmy

Registriert seit: 28. Jul 2010
431 Beiträge
 
Delphi 2010 Architect
 
#3

AW: Vorm Start

  Alt 30. Jul 2010, 01:13
Delphi-Quellcode:
unit Unit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls,
  Unit1 in 'Unit1.pas{Form1};

type
  TForm1 = class(TForm)
    Button1: TButton;
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}
begin
  ShowMessage('Hello');
  Application.Initialize;
  Application.MainFormOnTaskbar := True;
  Application.CreateForm(TForm1, Form1);
  Application.Run;
end.


procedure TForm1.FormCreate(Sender: TObject);
begin

end;

end.



Warum bekomm ich hier eine Errormeldung vom Compiler ??

Geändert von mkinzler (30. Jul 2010 um 05:20 Uhr)
  Mit Zitat antworten Zitat