Autor Beitrag
chrisx
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81



BeitragVerfasst: Mi 04.05.05 15:36 
hi, wie kann ich den interval von einem timer auf knofdruck bestimmen?

die zeit soll aus Edit1 ausgelesen werden.


danke
der_zaehe
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 317

WinXP SP2
D6 Pers, D2005 Prof, VS2005
BeitragVerfasst: Mi 04.05.05 15:53 
mit

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
 
procedure TForm1.Button1Click(Sender: TObject);
begin
  DeinTimer.Interval := StrToInt(DeinEdit.Text);
end;


/Edit: bitte ;)

_________________
[inspirationslos]
chrisx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81



BeitragVerfasst: Mi 04.05.05 20:40 
danke.

ich hatte das StrToInt vergessen.
JayEff
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2971

Windows Vista Ultimate
D7 Enterprise
BeitragVerfasst: Mi 04.05.05 21:55 
kleiner tipp: poste beim nächsten mal immer deinen code bzw eine Zeile daraus, und wenn vorhanden auch die fehlermeldung (du kannst die zeile im Debuggerfenster einfach markieren und STRG+C zum kopieren drücken...)

_________________
>+++[>+++[>++++++++<-]<-]<++++[>++++[>>>+++++++<<<-]<-]<<++
[>++[>++[>>++++<<-]<-]<-]>>>>>++++++++++++++++++.+++++++.>++.-.<<.>>--.<+++++..<+.
chrisx Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 81



BeitragVerfasst: Mi 04.05.05 22:00 
ok, werd ich das nächste mal machen!