Autor Beitrag
Mitmischer 1703
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Do 04.10.07 16:24 
Wie entferne ich Items aus einer TListbox?

Muss ich wissen, für ein Upload von einer neuen Shredder-Version...
Narses
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10184
Erhaltene Danke: 1259

W11x64
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Do 04.10.07 16:41 
Moin!

user profile iconMitmischer 1703 hat folgendes geschrieben:
Wie entferne ich Items aus einer TListbox?

Z.B. so: ListBox1.Clear; :roll:

Sag mal, ist deine F1-Taste kaputt? :mahn: ;) Listbox auf dem Formular markieren, F1 drücken und :les:

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Arne Danikowski
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 194



BeitragVerfasst: Fr 05.10.07 14:05 
Das versuch mal mit Delphi2007 :)

Aber es können auch einzelne Elemente (Zeilen) aus der Listbox entfernt werden. Jede Zeile hat eine ID
ich glaub der Syntex war:

elementID.deleteItem(index)
Mitmischer 1703 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 754
Erhaltene Danke: 19

Win 7, Debian
Delphi Prism, Delphi 7, RAD Studio 2009 Academic, C#, C++, Java, HTML, PHP
BeitragVerfasst: Fr 05.10.07 14:25 
user profile iconNarses hat folgendes geschrieben:
Moin!

Sag mal, ist deine F1-Taste kaputt? :mahn: ;) Listbox auf dem Formular markieren, F1 drücken und :les:



Na ja, kaputt ist sie nicht, aber außer Gefecht --> Vista-Hilfe. Aber Danke für die schnellen Antworten!

---

user profile iconArne Danikowski hat folgendes geschrieben:
Das versuch mal mit Delphi2007 :)

Aber es können auch einzelne Elemente (Zeilen) aus der Listbox entfernt werden. Jede Zeile hat eine ID
ich glaub der Syntex war:

elementID.deleteItem(index)


Die Syntax klappt nicht! :puke: :motz: :cry:

Moderiert von user profile iconNarses: Beiträge zusammengefasst.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 05.10.07 14:31 
user profile iconMitmischer 1703 hat folgendes geschrieben:
Na ja, kaputt ist sie nicht, aber außer Gefecht --> Vista-Hilfe.
Bei mir funktioniert die Hilfe mit Vista und Delphi 3, das ich zu Testzwecken auch noch drauf habe...
Du musst natürlich das entsprechende Vista-Update installiert haben, worauf aber in zahlreichen Threads hier im Forum auch schon verweisen wurde, wenn du danach gesucht hättest:
www.microsoft.com/do...65-8070-334cd175d4bb

// EDIT:
Auf dieses Update wurdest du ja in einem anderen Thread bereits hingewiesen... :roll: