Registriert seit: 12. Sep 2008
Ort: Emlichheim
693 Beiträge
Delphi 10.1 Berlin Professional
|
Re: Eigene Deklaration
19. Mai 2009, 15:03
Delphi-Quellcode:
unit Unit2;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls;
type
TForm2 = class(TForm)
Button1: TButton;
procedure FormCreate(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private-Deklarationen }
p : integer;
procedure SagHallo;
public
{ Public-Deklarationen }
end;
var
Form2: TForm2;
implementation
{$R *.dfm}
procedure TForm2.Button1Click(Sender: TObject);
begin
SagHallo;
end;
procedure TForm2.FormCreate(Sender: TObject);
begin
SagHallo;
end;
Procedure TForm2.SagHallo;
begin
ShowMessage(' Hallo');
end;
end.
Jens
|
|
Zitat
|