Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
ListBoxes and Addlistitem methods
Hi All,
I'm having a problem with 2 listboxes that have the rowsource property set to none and use the addlistitem method to loadup one list from the selected item from another(mover list type thing). The first list (for example) has 2 items loaded into it and when I select the second item from that list I addlistitem to the second list and removeitem from the first. (click event of a selection button) Then when I try to remove the selected item from the second list it clobbers the first item in the original. To tell you the truth I'm a little confused what method (additem/addlistitem) I should use and in this case as I'm moving multiple columns between 2 lists complicating life a little. All I'm trying to do is remove the selected item back to the orginal list and put it on the bottom. I thought listcount would work but it doesn't.
Thanks,
Don
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement