Einzelnen Beitrag anzeigen

Bericender

Registriert seit: 10. Sep 2008
22 Beiträge
 
#9

Re: Bezeichner redefiniert + Deklaration?

  Alt 4. Jan 2009, 12:43
Hier ist übrigens die Unit 1
Delphi-Quellcode:
unit uUnit1;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, uUnit2, StdCtrls;

type
  TForm1 = class(TForm)
    Edit1: TEdit;
    Edit2: TEdit;
    Edit3: TEdit;
    Edit4: TEdit;
    Button1: TButton;
    Edit5: TEdit;
    Edit6: TEdit;
    Edit7: TEdit;
    Edit8: TEdit;
    Edit9: TEdit;
    Button2: TButton;
    Button3: TButton;
    Button4: TButton;
    Button5: TButton;
    Button6: TButton;
    procedure Button1Click(Sender: TObject);
    procedure Button2Click(Sender: TObject);
    procedure Button4Click(Sender: TObject);
    procedure Button5Click(Sender: TObject);
    procedure Button3Click(Sender: TObject);
    procedure Button6Click(Sender: TObject);

  private
    { Private-Deklarationen }
  public
    { Public-Deklarationen }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
        TFirma.neu;
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
        TFirma.oeffnen;
end;

procedure TForm1.Button4Click(Sender: TObject);
begin
        TFirma.vor;
end;

procedure TForm1.Button5Click(Sender: TObject);
begin
        TFirma.zurueck;
end;

procedure TForm1.Button3Click(Sender: TObject);
begin
        TFirma.speichern;
end;

procedure TForm1.Button6Click(Sender: TObject);
begin
        TFirma.schliessen;
end;

end.
  Mit Zitat antworten Zitat