TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: Guest on January 11, 2008, 04:11:26 PM

Title: Listbox (move item up/down within list)
Post by: Guest on January 11, 2008, 04:11:26 PM
Is it possible to move an item in a listbox up or down by simply clicking on it and dragging it either up or down?
Title: Re: Listbox (move item up/down within list)
Post by: BazzaCAD on January 11, 2008, 07:11:00 PM
At first I was going to say "No, I don't think it's possible", but then I thought I'd challenge myself.
I've posted the example files here:
http://www.opendcl.com/forum/index.php?topic=133.0 (http://www.opendcl.com/forum/index.php?topic=133.0)

Getting the Drag&Drop to work wasn't that difficult, but I was trying to get the listbox to update as you where dragging the items around & currently that doesn't seam possible. :(
This is a cool example, I think I'll add it to the MasterDemo project. :)
Title: Re: Listbox (move item up/down within list)
Post by: Kerry on January 11, 2008, 07:22:59 PM

Nice example Barry !
Title: Re: Listbox (move item up/down within list)
Post by: Guest on January 14, 2008, 08:22:39 AM
Very cool!  Thanks!!!