Rearranging List Control Rows through Drag and Drop (including demos!)

Wayne was nice enough to give some example code in his article, but not sample project files.  Since I posted some solutions and fixes to things pertaining to this article, I have recieved several emails asking for sample code.

Screen Shots:
 

Sortlist
Drag...
Drop...

 
SortlistView
Drag...
Drop...

Download dialog demo project - 12 KB

Download view demo project - 18 KB

Date Last Updated: March 23, 1999



Comments

  • Drop & Drop feedback

    Posted by Legacy on 03/30/1999 12:00am

    Originally posted by: Rodger Bernstein

    The drag and drop stuff would be much more useful if there were some feedback telling the user where the item(s) will be moved to. Perhaps the item would draw a line above or below the text indicating where the items will be moved to. It should be able to handle you moving the items above the top item and below the last item.

    I 'm assumeing this code will handle multiple selections.
    Anyone feel like implementing this?

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • On-demand Event Event Date: October 29, 2014 It's well understood how critical version control is for code. However, its importance to DevOps isn't always recognized. The 2014 DevOps Survey of Practice shows that one of the key predictors of DevOps success is putting all production environment artifacts into version control. In this webcast, Gene Kim discusses these survey findings and shares woeful tales of artifact management gone wrong! Gene also shares examples of how high-performing DevOps …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds