stumpled upon a feature in ExplorerListGadget which I want to get rid of. In the example I added I can select some dir entries on the left gadget. When clicking the right gadget selecting entries and return to the left gadget, it still keeps the selections. Is there a way to clean the selections without re-reading the directory? For example via event like "Case #PB_EventType_Focus" (which doesn't work with this gadget) ?
Code: Select all
If OpenWindow(0, 0, 0, 800, 600, "ExplorerListGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
ExplorerListGadget(0, 0, 0, 400, 600, GetUserDirectory(#PB_Directory_Documents)+"*.*", #PB_Explorer_MultiSelect)
ExplorerListGadget(1, 401, 0, 400, 600, GetUserDirectory(#PB_Directory_Documents)+"*.*", #PB_Explorer_MultiSelect)
Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf


