![]() |
Re: ListBox1.Items.LoadFromFile('test.txt');
Willst Du eine Leerzeile dazwischen oder was soll das heißen?
|
Re: ListBox1.Items.LoadFromFile('test.txt');
Moin, moin taktaki!
Ich warte immer noch auf deine Erklärung, was eine "moemische Idee" ist - mache doch zur Abwechslung mal die Anderen schlau ... Gruß |
Re: ListBox1.Items.LoadFromFile('test.txt');
Delphi-Quellcode:
aListBox.items[3] := aStringList.Strings[2];
|
Re: ListBox1.Items.LoadFromFile('test.txt');
Zitat:
Delphi-Quellcode:
// ganz logisch, man muss erst mal dafür sorgen, dass genügend Zeilen vorhanden sind
while aListBox.Items.count <= 4 do aListBox.Items.Add(''); // und dann entweder aListBox.items[3] := aStringList[2]; // Zeile 4 (Index=3) komplett ersetzen aListBox.items[3] := aListBox.items[3] + aStringList[2]; // oder anhängen |
Re: ListBox1.Items.LoadFromFile('test.txt');
Zitat:
Delphi-Quellcode:
_____ ___ __ _ _ _ _____
| _ \ / | | \ | | | | / / | ____| | | | | / /| | | \| | | |/ / | |__ | | | | / / | | | |\ | | |\ \ | __| | |_| | / / | | | | \ | | | \ \ | |___ |_____/ /_/ |_| |_| \_| |_| \_\ |_____| |
Re: ListBox1.Items.LoadFromFile('test.txt');
Zitat:
Eilig heißt moemisch :mrgreen: |
Re: ListBox1.Items.LoadFromFile('test.txt');
Ahoj taktaki,
habe doch gleich geahnt, dass du Akademiker bist: Habe das Wort tatsächlich im Internet gefunden! Ich nehme alles zurück (hihihihi) |
Re: ListBox1.Items.LoadFromFile('test.txt');
Zitat:
Delphi-Quellcode:
_____ _____ _ _ _____ _____
/ ___| | _ \ | | | | / ___/ / ___/ | | | |_| | | | | | | |___ | |___ | | _ | _ / | | | | \___ \ \___ \ | |_| | | | \ \ | |_| | ___| | ___| | \_____/ |_| \_\ \_____/ /_____/ /_____/ |
Re: ListBox1.Items.LoadFromFile('test.txt');
Ich habe auch auf Form einen WebBrowser1
Quelltext in Webbrowser1:
Code:
Wie kann ich das Wort "hallo1" mit "hallo2" ersetzen?
<html>
<head> <title>test</title> </head> <body> <font size="7"> Hallo1</font></p> </body> </html> oder einfach so :
Delphi-Quellcode:
:mrgreen:
webbrowser1.items(6):= aStringList[2]; // oder
|
Re: ListBox1.Items.LoadFromFile('test.txt');
Gar nicht, da es nicht vorkommt :mrgreen:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:37 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz