|
-
Oct 10th, 2003, 07:17 AM
#1
Thread Starter
New Member
Listview: Moving Items
Suggest I have a listview control containing three items, A B and C. I would like to move item A ope position down using Move Up and Move Down buttons...
Can someone please tell me how to move a listitem a position down (or up)?
-
Oct 11th, 2003, 09:41 AM
#2
Addicted Member
the way that i could think about is , in the click handler >>
*get index of selected item
*delete selected item
*add new listviewitem at wanted index ( +1 or -1 of the selected index)
-
Oct 12th, 2003, 07:41 AM
#3
yay gay
1st take a reference to the item, then remove it from the items collection and then add it at the place you want
\m/  \m/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|