Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBoxes and Addlistitem methods
Message
From
17/11/1999 21:38:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ListBoxes and Addlistitem methods
Miscellaneous
Thread ID:
00292255
Message ID:
00292255
Views:
45
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
Reply
Map
View

Click here to load this message in the networking platform