Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00622811
Message ID:
00622949
Vues:
31
>>>I have a form with two listboxes in it. At first one of the listboxes will contain all the records from a cursor and the second will be empty, the idea is to pick the items from the first listbox and add'em to the second list but how can I disable the items already chosen from the first listbox? any ideas?
>>>
>>>Thanks in advance...
>>>
>>Hi Enmanuel,
>>
>>The usual way to handle this is to remove records from the source listbox when they moved to the destination listbox. In Vfp 6/7 there's _supermover class in the _movers class library in FFC subdirectory that provides such functionality.
>
>Thanks Sergey. Actually I made it "work" using an array but found another problem when trying to deselect one of the already selected items. Maybe I've choosed the hardest way to accomplish with this. Anyway, I'll give it a try to your suggestion. I think it'll be easier.

Check Downloads section for Mover class based on arrays...
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform