Guest_imported
New member
- Jan 1, 1970
- 0
Hello
i want to use a list box control with the multiselect property set to 1 (simple), what i thought would work to know the selected items from the list is
dim i as integer, a() as integer
for i=1 to list.listcount
if list.item(i).selected=True then a(i)=i
else a(i)=0
end if
next i
this didin't work and don't know why. i know this might seem too silly, but does any one know how can i do it?
many thanks
Amal
i want to use a list box control with the multiselect property set to 1 (simple), what i thought would work to know the selected items from the list is
dim i as integer, a() as integer
for i=1 to list.listcount
if list.item(i).selected=True then a(i)=i
else a(i)=0
end if
next i
this didin't work and don't know why. i know this might seem too silly, but does any one know how can i do it?
many thanks
Amal