Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving items in a List Box
Message
From
24/05/2001 08:00:46
 
 
To
24/05/2001 03:26:26
General information
Forum:
Visual Basic
Category:
Other
Miscellaneous
Thread ID:
00510738
Message ID:
00510783
Views:
15
>Hi all! I need some help with my text box. I want to give my users the ability to change the arrangement of the items in my list box. I can see this possible by using the mouse to drag the item to the new location on the same listbox or by setting up two command buttons to move the selected item either up or down. Is this possible? How can I achieve this?
>
>Thanx! a million!

use the optional index parameter of the additem method. Using this method you will also need to handle dupes.
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform