Author | Message | Time |
---|---|---|
Topaz | Is there a ListView.SelectedItems function? I enabled MultiSelect, and I want it to send multiple lines of text at once on PopUp. | August 6, 2005, 9:20 PM |
Spht | [quote author=Topaz link=topic=12455.msg123357#msg123357 date=1123363233] Is there a ListView.SelectedItems function? I enabled MultiSelect, and I want it to send multiple lines of text at once on PopUp. [/quote] What? Are you trying to find out what items are selected in your list view? Use (bool) "ListView.ListItems(Index).Selected" (ListView being the "name" of your ListView object, and Index being the list index of the item you want to check) to find out if an item is selected. | August 7, 2005, 2:48 AM |
Topaz | My bad, its difficult to explain. I was wondering if there was a function that will read all the Selected items in a Listview, when MultiSelect is enabled. | August 7, 2005, 6:02 PM |
Stealth | A For loop would do the trick very easily for you.. | August 8, 2005, 12:01 AM |
Grok | [quote author=Topaz link=topic=12455.msg123439#msg123439 date=1123437750] My bad, its difficult to explain. I was wondering if there was a function that will read all the Selected items in a Listview, when MultiSelect is enabled. [/quote] No intrinsic function (provided with VB). However, as pointed out, not hard to write a loop to accumulate the selected items. | August 8, 2005, 2:13 AM |