Groups | Blog | Home
all groups > dotnet academic > august 2003 >

dotnet academic : ListBox


Eduard Faschang
8/26/2003 2:52:38 PM
Hello

I have a ListBox with more selection .
I want read only the selected items!!

An Example were fine

thank you

Edi

Alfred C Thompson II
8/26/2003 7:24:35 PM
Use the SelectedItems property. For example, the following code copies the
selected items from ListBox1 to Listbox2

Dim x as Object
For Each x In ListBox1.SelectedItems()
ListBox2.Items.Add(x)
Next


[quoted text, click to view]

AddThis Social Bookmark Button