Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disabling item in Listbox when RowSource is NOT None.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Disabling item in Listbox when RowSource is NOT None.
Divers
Thread ID:
00025216
Message ID:
00025216
Vues:
79
I have a table that is being used as a RowSource to a listbox and have a flag indicating whether to disable an item after it's been selected or whether to remove the item.

When a selected item is moved to another listbox, I've tried .lstList1.Enabled[index] = .F. but it disables ALL items in the listbox. The "\" works fine when one is using "none" as a RowSource and populating the list with the AddItem method. This is fine for small lists, but for larger lists, an array or table is much faster and
the "\" does not work.

I need to disable a single item with a RowSource. Any suggestions?

Steve Despres
sdespres@erols.com
Répondre
Fil
Voir

Click here to load this message in the networking platform