Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling item in Listbox when RowSource is NOT None.
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Disabling item in Listbox when RowSource is NOT None.
Miscellaneous
Thread ID:
00025216
Message ID:
00025216
Views:
83
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
Reply
Map
View

Click here to load this message in the networking platform