PB5.42 LTS; Windows; ListIconGadget; multiple selection;

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
HanPBF
Enthusiast
Enthusiast
Posts: 564
Joined: Fri Feb 19, 2010 3:42 am

PB5.42 LTS; Windows; ListIconGadget; multiple selection;

Post by HanPBF »

After a

Code: Select all

BindGadgetEvent(PBListIconGadget, @onChange_ListIconGadget(), #PB_EvenType_Change)
You can select rows with the shift key; maybe 5 or more.

Each row selected in that group signals an own event while selected with shift key!

That should be wrong from the request for a behaviour of a list icon.
You can not get the list of selected items by a PB command, but have to walk through the list.
That proves that there should not be an event for each row...

At least, it should be changeable through an option by creating the list.


Thanks a lot!