johnf wrote: > I need a pair of listboxes with items that can be reordered and moved between > the listboxes. I don't know what this is called but I have seen it many > times in programs like cuteFTP where you select a file in either list and > then click on the center button to move the file to the other list. > > Does anyone have a suggestion as to the best way to create this control. Or > does someone have some code that does this and wants to help me out?
Usually, called a mover. It is easily done. I thought Ed had already done it but can't find it right now. Make 2 listcontrols (use dListControl because you can multi-select) and 2-4 action buttons between them. When the user clicks to move an item, remove it from the source list and add it to the target list. See dabo/ui/dialogs/SortingForm.py for ideas on changing the ordering of items, or just do a header-click to sort alpha. Paul _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[EMAIL PROTECTED]
