Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag/Drop OR Select - not both!?!?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00170633
Message ID:
00194153
Vues:
38
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform