A
Anders Zuschlag
Hey
I have an ordinary listbox and I want to select all. So I do this:
Dim i As Long
For i = 0 To Ringe.ListCount - 1
Ringe.Selected(i) = True
Next
However this is taking quite a while, when there are a lot of lines in the
box.
I have found an sendmessage thing to use if it is a listview control but
that does not work in an ordinary listbox
Does anybody know if there is a better way to select all in a listbox.
Yours Anders Z
Denmark
I have an ordinary listbox and I want to select all. So I do this:
Dim i As Long
For i = 0 To Ringe.ListCount - 1
Ringe.Selected(i) = True
Next
However this is taking quite a while, when there are a lot of lines in the
box.
I have found an sendmessage thing to use if it is a listview control but
that does not work in an ordinary listbox
Does anybody know if there is a better way to select all in a listbox.
Yours Anders Z
Denmark