eNarc
asked on
Drag Up or Down Position of a Listview Entry
Hi I'd like to be able to move a listview item up and down the listview. is there anyway of doing this with a mouse or button?
for example, to rearrange the items in an order of choice.
for example, to rearrange the items in an order of choice.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
oh no, I need an admin to fix this I made a mistake when finalizing.
ASKER
how does one use that code KillerCode? were do I put it?
u can add it to 2 Buttons next to the listview, or in a PopUpMenu, ill see what i can do with ur other topic now
or thats another thing??
if i didnt get what u mean explain me more plz
if i didnt get what u mean explain me more plz
Ohh, ok... but you got it to work at least?
/Hypo
/Hypo
ASKER
thanks coolleomod :D
Hypo: hell yea it works :D it was awesome your code its does exactly what I ask :D being able to move the items from 1 listview to the other is wow! I totally can use that in other apps too :D thankyou thankyou thankyou
KillerCode: your code works too, and is great, I love functions they do make everything easier, almost everything I've coded has a function makes everything a complete package :D
Hypo: hell yea it works :D it was awesome your code its does exactly what I ask :D being able to move the items from 1 listview to the other is wow! I totally can use that in other apps too :D thankyou thankyou thankyou
KillerCode: your code works too, and is great, I love functions they do make everything easier, almost everything I've coded has a function makes everything a complete package :D
ASKER
I searched "ListViewDragDrop" on google and found this
http://delphi.about.com/od/vclusing/a/arrangelistview.htm
and I thought it would be relevant to add this for future :D