Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving items in a List Box
Message
 
 
À
24/05/2001 03:26:26
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Divers
Thread ID:
00510738
Message ID:
00510783
Vues:
16
>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

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform