K Karnimani Grünschnabel 20. November 2003 #1 Ich habe ein kleines Problem, wenn ich den Code hier: For i = 1 To 10 print i; "Hallo" Next i Dann erscheint 10mal Hallo im Formfenster. Wie krieg ich das nun in eine Textbox?
Ich habe ein kleines Problem, wenn ich den Code hier: For i = 1 To 10 print i; "Hallo" Next i Dann erscheint 10mal Hallo im Formfenster. Wie krieg ich das nun in eine Textbox?
ANI Erfahrenes Mitglied 20. November 2003 #2 hallo Karnimani, versuch mal dieses: Dim newText as String Dim i% For i = 1 to 10 newText = newText & "Hallo" & vbCrlf next i TextBox.Text=newText Viel Spaß ANI
hallo Karnimani, versuch mal dieses: Dim newText as String Dim i% For i = 1 to 10 newText = newText & "Hallo" & vbCrlf next i TextBox.Text=newText Viel Spaß ANI
danielm Erfahrenes Mitglied 20. November 2003 #3 oder einfach so Code: for i=0 to 10 text1.text = "hallo" & text1.text next i