hi im trying to make a button that deletes from a list so i use an if then else block, but i can't use listview1.selectionindex and attach it to the entire if block to do that, so what do i do?
Is list empty block
If nothing is selected, then Selection Index is zero.
So you need to pass two tests before working on the list.
Selection Index> 0
Length of list> 0
Use the green And block.