TMain - Goethe Gymnasium Dortmund
TMain - Goethe Gymnasium Dortmund
TMain - Goethe Gymnasium Dortmund
Erfolgreiche ePaper selbst erstellen
Machen Sie aus Ihren PDF Publikationen ein blätterbares Flipbook mit unserer einzigartigen Google optimierten e-Paper Software.
procedure <strong>TMain</strong>.SchalterMouseDown(Sender: …………………);<br />
begin<br />
Color := clsilver<br />
end;<br />
procedure <strong>TMain</strong>.SchalterMouseUp(Sender: …………………….);<br />
begin<br />
Color := clblack<br />
end;<br />
procedure <strong>TMain</strong>.FormCreate(Sender: TObject);<br />
begin<br />
BT := TBuntTaster.Create(Main, clYellow);<br />
BT.Parent := main;<br />
BT.Width :=80;<br />
BT.Height := 40;<br />
BT.Left := 10;<br />
BT.Top := Main.Height - 90;<br />
BT.OnMouseDown := TasterMouseDown;<br />
BT.OnMouseUp := TasterMouseUp;<br />
BS := TBuntSchalter.Create(Main, clBlue);<br />
With BS DO BEGIN<br />
Parent := main;<br />
Width :=80;<br />
Height := 40;<br />
show;<br />
Left := 10 + BT.Width + 10;<br />
Top := Main.Height - 90;<br />
OnMouseDown := SchalterMouseDown;<br />
OnMouseUp := SchalterMouseUp;<br />
END;<br />
end;<br />
end.<br />
39