Autor Beitrag
duri
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 23



BeitragVerfasst: So 08.01.06 00:03 
hallo,

Wie mache ich farbige Lichter ?

zb. eine Ampel... ( bitte keine farben in einem kästchen.. bunte lichter) :)

habe bereits versucht im Forum dannach zu suchen, aber nichts mit Lichter gefunden
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: So 08.01.06 00:14 
Mit Bunten Lämpchen, oder bei Delphi vieleicht mit verschiedenen Farbige Images.
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: So 08.01.06 00:52 
Oder man zeichnet mit TCanvas, oder man geht auf die Straße und klaut sich ne Ampel

_________________
Programmers never die, they just GOSUB without RETURN
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: So 08.01.06 01:01 
benutz doch shapes! ;)
Blackheart666
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2195

XP
D3Prof, D6Pers.
BeitragVerfasst: So 08.01.06 01:42 
Eine Ampel.

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
procedure TForm1.Button1Click(Sender: TObject);
begin
  Color:=clGreen;
  Sleep(1000);
  Refresh;
  Color:=clYellow;
  Sleep(1000);
  Refresh;
  Color:=clRed;
  Sleep(1000);
end;
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: So 08.01.06 01:44 
ich würds mitm timer, shape und case machen ... hoffe du brauchst jetzt nicht noch n extra beispiel :wink:
alias5000
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2145

WinXP Prof SP2, Ubuntu 9.04
C/C++(Code::Blocks, VS.NET),A51(Keil),Object Pascal(D2005PE, Turbo Delphi Explorer) C# (VS 2008 Express)
BeitragVerfasst: So 08.01.06 01:45 
Oder es gibt doch zahlreiche LED-Komponenten. Dort kannste ja auch einfach 3 nehmen und zum leuchten bringen. (wenn du welche Suchst, schau auf www.torry.net , da hats sicher welche)

Gruß alias5000

_________________
Programmers never die, they just GOSUB without RETURN