Page 1 of 1

Count number of selected items

Posted: Sun Jun 04, 2006 6:12 am
by Phoenix
Would be nice to have a command that counts or returns the number of selected listviewgadget and listicongadget items, so we don't have to use the API (good for cross platform applications). Currently I have to do it like this, but it's not cross platform........

Code: Select all

totalItemsSelected = SendMessage_(GadgetID(#ListIconGadget), #LVM_GETSELECTEDCOUNT, 0, 0)

Posted: Sun Jun 04, 2006 1:39 pm
by DoubleDutch
I didn't know about this API command, I'll be using that instead of a routine now. :)