I need to remove an item from an ListIconGadget.
I am going to use RemoveGadgetItem(#Gadget, Position).
How do I know wich position the users selected ?
There's nothing in the docs about this.
			
			
									
									
						RemoveGadgetItem
Code: Select all
For x = 0 To NumberOfListEntries - 1
    if GetGadgetItemState(#LIST_BOX, x) = 1
       debug "This one is selected!: " + str(x)
    endif
next x



