unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, ExtCtrls, StdCtrls;
type
TForm1 =
class(TForm)
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
Timer1: TTimer;
Timer2: TTimer;
Timer3: TTimer;
Timer4: TTimer;
Timer5: TTimer;
Timer6: TTimer;
Timer7: TTimer;
Button1: TButton;
Button2: TButton;
Button3: TButton;
Button4: TButton;
Button5: TButton;
Button6: TButton;
Button7: TButton;
Edit1: TEdit;
Edit2: TEdit;
Edit3: TEdit;
Edit4: TEdit;
Edit5: TEdit;
Edit6: TEdit;
Edit7: TEdit;
Edit8: TEdit;
Edit9: TEdit;
Edit10: TEdit;
Edit11: TEdit;
Edit12: TEdit;
Edit13: TEdit;
Edit14: TEdit;
procedure Timer1Timer(Sender: TObject);
procedure Button7Click(Sender: TObject);
procedure Button6Click(Sender: TObject);
procedure Button5Click(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
procedure FormCreate(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
Timer1.Enabled := true;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
Timer2.Enabled := true;
end;
procedure TForm1.Button3Click(Sender: TObject);
begin
Timer3.Enabled := true;
end;
procedure TForm1.Button4Click(Sender: TObject);
begin
Timer4.Enabled := true;
end;
procedure TForm1.Button5Click(Sender: TObject);
begin
Timer5.Enabled := true;
end;
procedure TForm1.Button6Click(Sender: TObject);
begin
Timer6.Enabled := true;
end;
procedure TForm1.Button7Click(Sender: TObject);
begin
Timer7.Enabled := true;
end;
MÜSSTE DARAN LIEGEN
//
procedure TForm1.Timer1Timer(Sender: TObject);
begin
timer1.Interval := strtoint(edit1.Text)
end;
//
end.