>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