-
Feb 9th, 2010, 09:15 PM
#1
reOrderable DnD listview / listbox
Here's my reOrderable DnD listview / listbox. The extended listview is a modified version of an example written by someone else (I don't remember who). The listbox is my attempt to recreate that functionality for the listbox control. Written in vb2005:
edit: added cursor effects 12/2/2010
edit: updated. thanks to JuggaloBrotha for the advice. see post #6 for latest version
Last edited by .paul.; Mar 7th, 2010 at 08:17 AM.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 9th, 2010, 09:42 PM
#2
Re: reOrderable DnD listview / listbox
Now the ListBox I hadn't gotten to yet, but a couple of days ago I'd made his example ListView not only a vb.net control but I also added a couple of properties and events to it.
Just a few hours ago I'd gotten around to making a CodeBank submission: ListView Move Item with Mouse
I was even nice enough to give the guy the deserved credit with a link to his CodeProject article.
-
Feb 9th, 2010, 11:14 PM
#3
Re: reOrderable DnD listview / listbox
Originally Posted by JuggaloBrotha
Now the ListBox I hadn't gotten to yet, but a couple of days ago I'd made his example ListView not only a vb.net control but I also added a couple of properties and events to it.
I was even nice enough to give the guy the deserved credit with a link to his CodeProject article.
I downloaded the original c# project years ago + couldn't remember where I got it. My version is an optimized trimmed down version. The listbox is my own.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 10th, 2010, 07:46 AM
#4
Re: reOrderable DnD listview / listbox
Yea, your ListBox code is basically a tweaked copy of the ListView code, so giving the original guy credit should be done for that too.
I just wanted to point out how odd it was that I happened to have gotten to making a CodeBank submisstion with it being an inherited control (I did some code optimization and added ternary to it too) then an hour later someone in the vb.net Gen section posted asking how to do it with a ListBox then a few hours later you post it all here in CodeBank.
-
Feb 10th, 2010, 09:47 AM
#5
Re: reOrderable DnD listview / listbox
Originally Posted by JuggaloBrotha
Yea, your ListBox code is basically a tweaked copy of the ListView code, so giving the original guy credit should be done for that too.
ok. credit where credits due.
but you should also give credit to Bill Gates for writing Windows, IBM for creating the PC, and Alan Turing for conceiving of the computer, without who, none of this would've been possible.
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
Feb 24th, 2010, 01:03 PM
#6
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
|