Einzelnen Beitrag anzeigen

Benutzerbild von DGL-luke
DGL-luke

Registriert seit: 1. Apr 2005
Ort: Bad Tölz
4.149 Beiträge
 
Delphi 2006 Professional
 
#2

Re: Ausgewählte Timer auf knopfdruck starten

  Alt 17. Jan 2007, 15:15
Delphi-Quellcode:
var
  timers: array[0..2] of TTimer;

timers[0] := Timer1;
timers[1] := Timer2;
timers[2] := Timer3;

for i := 0 to high(timers) do
  if CheckListBox1.Checked[i] then timers[i].Enabled := true;
Wo ist das Problem? Und was willst du mit Actionlists?
Lukas Erlacher
Suche Grafiktablett. Spenden/Gebrauchtangebote willkommen.
Gotteskrieger gesucht!
For it is the chief characteristic of the religion of science that it works. - Isaac Asimov, Foundation I, Buch 1
  Mit Zitat antworten Zitat