View Single Post
Old Feb 19th, 2005, 3:38 PM   #1
chepfaust
Programmer
 
chepfaust's Avatar
 
Join Date: Feb 2005
Posts: 62
Rep Power: 4 chepfaust is on a distinguished road
reading from a listbox

i can't find any information on how to do this whatsoever anywhere on the internets.

a user selects multiple(!) not necessarily consecutive items from a dirlistbox and clicks a button, which ideally would write the contents of each selected line to a text file.

now, i can do dirlistbox.text and dirlistbox.listindex for reading a single selection, but each command only reads the last selection entered, and even if i manually set

dirlistbox.selected(dirlistbox.listindex) = false
'sets whatever was last selected to false
the computer doesn't remember what was selected before that, so there is no more information the program will read from the dirlistbox.

any ideas?

Last edited by chepfaust; Feb 19th, 2005 at 3:45 PM.
chepfaust is offline   Reply With Quote