Autor Beitrag
Florian.K
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130

Win Xp Prof. & SP 2
Delphi 10 Lite
BeitragVerfasst: Do 09.02.06 21:03 
Hi Community!
Ich möchte gerne eine ForSchleife erstellen die z.b von 1-3 oder von 1-10 durchläuft.
Nur mein Problem, ich möchte, dass bei jedem neuem Start einer Schleife eine Zahl hochgesetzt[Zahl+1]wird und ich den Fortschritt der Schleife in einer Listbox beobachten kann.
1
2
3
4
5
6
7
8
9
10
Danke im Vorraus euer Florian!
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 21:07 
Die for-schleife zählt ja von selbst.
versuchs mal mit

ausblenden Delphi-Quelltext
1:
listbox.refresh;					
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Do 09.02.06 21:08 
Hast du den Code nun schon oder wie? (@Florian)

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Florian.K Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130

Win Xp Prof. & SP 2
Delphi 10 Lite
BeitragVerfasst: Do 09.02.06 21:12 
Nein das nicht, mein Problem ist ,ich weiß nicht wie ich den zaehler jeweils +1 setzen soll bis er bei 10 ist und wie ich es in der Listbox ausgebe.
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 09.02.06 21:14 
Wie sieht Dein Code denn bisher aus? Irgendwie verstehe ich noch nicht so ganz, wo Du welche Zähler erhöhen bzw. ausgeben willst. :-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 21:14 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
For i:=1 to 10 do
begin
listbox==>i
listbox.refresh;
end;
Coder
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 1383
Erhaltene Danke: 1

WinXP
D2005 PE
BeitragVerfasst: Do 09.02.06 21:21 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
For i:=1 to 10 do
begin
  listbox.Items.add(IntToStr(i));
  Listbox.refresh;
end;
Florian.K Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 130

Win Xp Prof. & SP 2
Delphi 10 Lite
BeitragVerfasst: Do 09.02.06 21:25 
Danke. Wie lange habt ihr gebraucht um Delphi zu beherschen? Ich lerne was das Zeug hällt aber es ist nicht grad einfach.
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 21:29 
Ich mach das seit september und ich finde Delphi eigentlich einfacher als alles was ich bisher gemacht habe.
Bei mir hat geholfen einfach Programme zum Spass zu schreiben, damit lernst du eigentlich das Programm(Delphi) am besten.
Und bei Fragen suchst du einfach in Google oder her im Forum.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Do 09.02.06 21:50 
nach 2 wochen alle basics, alles andere bis jetzt waren es 1,5 jahre

und mit php bin ich vor kurzem angefangen
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 21:52 
^^Bei mir war das andersrum :D erst PHP, dann Delphi.

@F34r0fTh3D4rk was meinst du mit basics?
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Do 09.02.06 21:54 
eben die grundsachen, schleifen stringverarbeitung generelle syntax variablen typen etc... verwendung von canvas zum malen ^^
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 21:55 
Aber sag bitte, dass du die Algorythmen schon vorher konntest, sonst komm ich mir total blöd vor^^
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Do 09.02.06 21:57 
algorithmik ist ja auch nix anderes, bei php finde ich das viel schlimmer, diese forschleifen die man noch selbst inkrementieren muss, aber vielseitig ist das, dafür hat man manche sachen nicht, die man bei delphi hat und umgehkehrt man muss auch immer umdenken und das nicht nur bei der syntax.

in meinem snake mit online highscore arbeiten delphi und php zusammen um die scorelist zu erstellen, so nutzt man das beste von beiden.
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: Do 09.02.06 21:58 
Also wenn man Delphi mit anderen Sprachen vergleicht ist es viel
einfacher, vorallem für die die mit ein paar Klicks was schönes visuelles
haben wollen. Und nicht ewig an was einfachem rumbauen muss.
Vorallem schön ist, das man die Logik des Proggen versteht.
Ich hab vorher auch PHP gelernt,
Is aber was GANZ anderes.

Ich hab vor 3 Monaten angefangen.

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 22:00 
Stimmt, PHP ist sehr viel umständlicher von der Syntay her, aber ich meinte eigentlich in der Frage ob du die Algorytmen schon konntest, bevor du mit Delphi angefangen hast, oder ob du sie in 2 Wochen gelernt und verstanden hast.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5284
Erhaltene Danke: 27

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: Do 09.02.06 22:01 
was mich stört ist, dass nicht sowas geiles wie die vlc für delphi gibt, so mit drag & drop, anstatt
ausblenden Delphi-Quelltext
1:
2:
3:
<form action="" method="POST">
...
</form>

dieses getippe ^^
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Do 09.02.06 22:03 
Ihr kommt so'n bisschen vom Thema ab ;-)

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 22:06 
Das stimmt. du musst aber auch bedenken, dass die Server PHP ausrechnen müssen bzw. die Browser HTML umsetzten müssen, Da müsse klare Grenzen gesetzt werden, sonst würde das nicht funktionieren.

arbeitest du mit nem editor z.B Weaveslave oder Phase 6 oder so was ähnliches
Fädas
ontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 73

Win XP
Delphi 5
BeitragVerfasst: Do 09.02.06 22:07 
UUps hab wohl zu lang getippt^^