Could anybody help?
Code: Select all
If Not OpenWindow(0, 100, 100, 500, 300, "Test", #PB_Window_MaximizeGadget | #PB_Window_MinimizeGadget | #PB_Window_SizeGadget | #PB_Window_SystemMenu)
End
EndIf
ExplorerListGadget(1, 0, 0, 200, 200, "", #PB_Explorer_AlwaysShowSelection | #PB_Explorer_FullRowSelect | #PB_Explorer_AutoSort | #PB_Explorer_MultiSelect)
SetGadgetItemState(1, 1, #PB_ListIcon_Selected) ; <-- PROBLEM
While #True
Event = WaitWindowEvent()
If Event = #PB_Event_CloseWindow
End
EndIf
Wend