Joe wrote:
I do get items in a list view that are checked to put in an array/hash/what
ever. My code list the contents of a directory and puts them in a list
view what I want is that after someone selects the files they want by
checking the box next to it. They click on a button and it copies the
selected file to a new location. Any ideas?
Forget about the checkbox stuff unless you want to code it yourself. (Maybe
(and that's a big maybe) checking a checkbox will change the state flags of
an item. If so, check that with the ItemInfo() method.)
What you can do is to let the user Ctrl-click-select many items in the
ListView. They should be acccessible using the SelectedItems() method.
These methods are described in the HTML documentation. The state flag for
checkboxes you'll probably need to reverse-engineer yourself.
/J
------ ---- --- -- -- -- - - - - -
Johan Lindström Boss Casinos
Sourcerer [EMAIL PROTECTED]
http://www.bahnhof.se/~johanl/
If the only tool you have is a hammer,
everything tends to look
like a nail