ListViewGadget multi select

Just starting out? Need help? Post your questions and find answers here.
itzybitzyspider
Posts: 27
Joined: Tue Nov 22, 2022 4:36 am

ListViewGadget multi select

Post by itzybitzyspider »

Hi,

I have a ListView gadget with mutli select and a EventType Change binded

Code: Select all

GadgetId = ListViewGadget(#PB_Any, 5, 15, 185, 100, #PB_ListView_ClickSelect)
BindGadgetEvent(GadgetId, @SelectFilters(), #PB_EventType_Change)
With multi select, I only get the current selection via

Code: Select all

 CurrentSelection.s = GetGadgetText(EventGadget())
Can I get the list of selected without going through the entire listview and getting gadget's state?