If I add
-singlesel => 1,
to the constructor for the listview_drag_drop.pl demo that is
distributed with Win32::GUI, then it works fine for me.
Perhaps you could post a short, complete example of what doesn't work
for you (along with what version of Win32::GUI you are using)?
Regards,
Rob.
Greg Dance wrote:
I know that the FAQ says:
*How can I prevent the user from choosing more than one item in a
Listview?*
You can use the
-singlesel
option on the ListView to achieve what you want.
However, this option seems to do nothing.* Has anyone ever been able to
actually do this?* I even tried loading up the GUI Loft to see if it
would work correctly there, but I get the same results. It doesn't seem
to matter if you enable or disable this option, you can always pick
multiple items in a listview.
Greg