unit UFahrstuhl;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TForm1 = class(TForm)
Panel2: TPanel;
Panel7: TPanel;
Panel8: TPanel;
Panel9: TPanel;
Panel10: TPanel;
Label1: TLabel;
Button1: TButton;
Button2: TButton;
Button4: TButton;
Button5: TButton;
Button6: TButton;
button3: TButton;
stuhl: TImage;
procedure Button1Click(Sender: TObject);
procedure Button5Click(Sender: TObject);
procedure Button6Click(Sender: TObject);
procedure Button4Click(Sender: TObject);
procedure Button3Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.Button1Click(Sender: TObject);
begin
close;
end;
procedure TForm1.Button5Click(Sender: TObject);
begin
stuhl.Top:=448;
end;
procedure TForm1.Button6Click(Sender: TObject);
begin
stuhl.Top:=560;
end;
procedure TForm1.Button4Click(Sender: TObject);
begin
stuhl.Top:=336;
end;
procedure TForm1.Button3Click(Sender: TObject);
begin
stuhl.Top:=224;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
stuhl.Top:=112;
end;
end.