Autor Beitrag
christoph
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 28

Win XP(SPack1),Win 2000(Spack3)
Delphi 6(Spack2)
BeitragVerfasst: Sa 21.06.03 15:20 
Hi
um alle Items zu markieren gibt es ja folgende 2 möglichkeiten
ausblenden Delphi-Quelltext
1:
Listbox1.selectedAll   //  Items werden per Schleife alle markiert					

oder per winapi
ausblenden Delphi-Quelltext
1:
SendMessage(Listbox1.Handle, LB_SELITEMRANGE, 1,  MakeLong(0, Listbox1.Items.Count - 1 ) );					


----------------------------------------------------------------------------------
Die 3te Möglichkeit wäre ja den ersten Item markieren runter scrollen zum letzten Item
dann mit Shift und linker Maus werden alle markiert
(absolut schnell)

wie könnte man die 3 Möglichkeit (zum Beispiel per Button-Click simulieren???

Vieln Dank jetzt schon mal für eure Hife
Gruss
Christoph
Tweafis
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 647

WinXP + fbsd
Delphi 5 Prof
BeitragVerfasst: Sa 21.06.03 20:23 
Warum willst du das simulieren? Geschwindigkeit? Da nimm lieber SelectAll...

_________________
.: Es wird der Tag kommen, an dem wir es nicht mehr ändern können :.
christoph Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 28

Win XP(SPack1),Win 2000(Spack3)
Delphi 6(Spack2)
BeitragVerfasst: So 22.06.03 17:27 
Ne Selected All auf keinen Fall da meine Listbox als Virtuell deklariert ist
und selbst 200.000 Items oder mehr sind kein Problem für die Listbox.
Das einzigste Problem ist Selected all (da ja bei selectedall die items per Loop angezeigt werden deswegen suche ich nach der 3ten Möglichkeit.

Christoph
christoph Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 28

Win XP(SPack1),Win 2000(Spack3)
Delphi 6(Spack2)
BeitragVerfasst: Mo 23.06.03 19:41 
Schade scheint wohl niemand zu wissen....Na ja egal
muss ich mich wohl in internationalen Foren mich durchfragen
Christoph