Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List/Combo Question
Message
 
To
05/06/1998 12:33:59
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00105212
Message ID:
00105228
Views:
38
>Is there a way to disable listbox or combobox elements? I've seen the help files and they specify several DisabledItem.. properties, but I don't see a method or property that will disable an item.
>TIA

Placing "\" in front of item disables it.

say, you have listbox with array as a source,
so if you want to disable 3rd item itn the listbox

IF something
thisform.list1.listItem(3)="\"+ myArray(3)
endif

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform