A few weeks back, i started making a project on my own, easily discovered how to move a list item up and down the list:
My question comes here, which i feel ridicolous for askingCode:lstMain.Items.Move(lstMain.ItemIndex,lstMain.ItemIndex -1);![]()
1) When you move the item, how do you keep it selected? If i press a up button for example, i always have to click the item, then the button, when really i should'nt
2) How do you stop the first, and last item in the list from been moved?
CHEERS![]()





Reply With Quote