Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag/Drop OR Select - not both!?!?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00170633
Message ID:
00194153
Views:
37
>Thanks - I think I can figure that class out. One question: when the class returns the array of selected items, would it be faster for me to cycle through the array, compare it with a previous copy and append the new items, or just to blow away previous selections and append the whole array?
>
>My experience with arrays is limited, so I'm probably unaware of what array handling tools to use to deal with the returned data efficiently.
>
>TIA

As far as I can remember, the arrays are just there for initialisation. Any data received will just contain the selected items. I've not looked at this class for some time so I'm only working from memory. If it is just the selected item(s) received, they will then just be added to the listbox and removed from the source listbox. The only other array created is in the call to retrieve the listbox data once finished.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform