Autor Beitrag
Pankower_92
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 31



BeitragVerfasst: Di 09.10.07 14:46 
hi leute ich habe da mal ne frage ich will nen timer mit 3 variablen machen.

d.h. das ich 3 label habe 3 buttons habe und mehr nicht. ich will das alle 60 sek das erste label neu anfängt zu zählen, wenn das label neu startet soll die nächst hörere zahl im label 2 stehen und das dann bis 5 im label 2 steht. dann soll in label3 1 nach oben zählen und in label2 nach 5 neu anfängt zu zählen. ich versuche das schon um 11 zu programmieren habe aber treotzdem keine lösung gefunden.

mfg pankower_92



ach ja button1 steht start. button2 steht stop. button3 steht reset.
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 09.10.07 14:50 
Moin!

user profile iconPankower_92 hat folgendes geschrieben:
ich versuche das schon um 11 zu programmieren habe aber treotzdem keine lösung gefunden.

Zeig uns dochmal deinen bisherigen Ansatz, dann sehen wir mal weiter, wo´s hakt. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Pankower_92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 31



BeitragVerfasst: Di 09.10.07 14:55 
ich habe immer probiert die variablen zu schreiben ich habe geschrieben

ausblenden Delphi-Quelltext
1:
2:
3:
4:
var
   i := integer
   a := integer
   b :=integer



sa habe ich das geschrieben ist es vlt richtig so oder wie mus ich sie schreiben

Moderiert von user profile iconNarses: Delphi-Tags hinzugefügt
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 09.10.07 14:56 
user profile iconPankower_92 hat folgendes geschrieben:
ich habe immer probiert die variablen zu schreiben ich habe geschrieben

ausblenden Delphi-Quelltext
1:
2:
3:
4:
var
   i := integer
   a := integer
   b :=integer


sa habe ich das geschrieben ist es vlt richtig so oder wie mus ich sie schreiben


schreibe bitte Code in der Delphi Code Funktion findest du beim antworten auf Posts oben !

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
Pankower_92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 31



BeitragVerfasst: Di 09.10.07 14:59 
user profile iconGericasS hat folgendes geschrieben:
schreibe bitte Code in der Delphi Code Funktion findest du beim antworten auf Posts oben !
wie jezz verstehe ich nciht ganz ich bin nur ein anfänger
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10183
Erhaltene Danke: 1256

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Di 09.10.07 14:59 
Moin!

Die Variablen sollten so deklariert werden:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
var
   i: Integer;
   a: Integer;
   b: Integer;

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 09.10.07 15:04 

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
Pankower_92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 31



BeitragVerfasst: Di 09.10.07 15:09 
ok danke narses!! ich habe noch ne frage, wie kann ich das jezz programmieren, wenn ich 3 labels habe und das erste label ist die sekunden anzeige, das 2 label ist die minuten anzeige und das 3. label ist die stunden anzeige, aber das2 label geht nur bis fünf dann fängt das wieder bei 0 an und das 3label geht nur bis 3 und dann wenn das bei 3 ist fänngt alles neu an von null und beim stop button hält der timer an bei dem start button fängt der timmer an zu zählen und bei dem reset button ist alles wieder null wie geht das ????????
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 09.10.07 15:12 
wie sind eigentlich deine Vorkenntnisse in Delphi ? 8)

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
Pankower_92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 31



BeitragVerfasst: Di 09.10.07 15:14 
nicht besonders ich hab gerade mal seit eine woche damit gearbeitet im praktikum habe ich letzte woche angefangen und ich hab biss jezz nur 12 projekte gemacht
Miri
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 657


Delphi 3 Prof., Delphi 2005 PE
BeitragVerfasst: Di 09.10.07 15:23 
Hmm... also aufgrund der Vielzahl und Art deiner Fragen, würde ich dir doch langsam mal den Crashkurs von user profile iconChristian S. ans Herz legen: Crashkurs
Befasse dich doch erstmal mit den Grundlagen, bevor du dir von allen Seiten Code vorkauen lässt, und dann doch nur max. die hälfte überhaupt nachvollziehen kannst!

_________________
Anonymes Eckenkind
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 09.10.07 15:25 
Mhh,

da war sie schon wieder schneller als ich :(

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
Wordg
Hält's aus hier
Beiträge: 14

Vista
Delfi, WinLogo
BeitragVerfasst: Di 09.10.07 15:29 
He
das interresiet mich veröfenlischst du das Program im Forum bitte wenns fretig ist natürlich aber es ist sehr interessant was du da machst. :zwinker:

mfg
Wordg
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 09.10.07 16:38 
user profile iconWordg hat folgendes geschrieben:
He
das interresiet mich veröfenlischst du das Program im Forum bitte wenns fretig ist natürlich aber es ist sehr interessant was du da machst. :zwinker:

mfg
Wordg


bitte was meinst du damit ? :wink:

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300
Wordg
Hält's aus hier
Beiträge: 14

Vista
Delfi, WinLogo
BeitragVerfasst: Di 09.10.07 18:40 
Ich lade mir das PRogramm dan runter und guck wie er das Gemacht hat!

Ist doch nicht so schwer zu verstehen:!:
Pankower_92 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 31



BeitragVerfasst: Di 09.10.07 20:57 
ok es ist fertig
GericasS
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 540

Windows Vista Home Premium
D2010, VisualStudio2008
BeitragVerfasst: Di 09.10.07 22:45 
user profile iconPankower_92 hat folgendes geschrieben:
ok es ist fertig


würdest du ihn mal posten, würde mich mal interessieren wie du es gelöst hast !

_________________
Alexander N.
Neue Bewaffnung Amilo xi2428 T9300