Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling a single Listbox item
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00312504
Message ID:
00312521
Views:
22
Hi Aaron,

You need to prefix the items you want to be disabled with a "\". For example, to disable the first item you could issue:

Thisform.lstMyListBox.list(1) = '\' + Thisform.lstMyListBox.list(1)


>I've seen programs where single items were disabled in a Listbox or Combobox, but can't figure out how to do it. There are DisabledItemBackColor and DisabledItemForeColor properties but I can't find anything else in MSDN.
>
>Does anyone know how to do this?
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform