>I created a listbox and populated it with values via the AddItem method. When an item it picked I disable it by adding a backslash to the item value....
>
>this.List1.ListItem(i)='\'+this.List1.ListItem(i)
>
>The strange thing is once I add a backslash, it disables the item OK but backslash is no longer there. In fact, to re-enable it I just issue....
>
>this.List1.ListItem(i) = this.List1.ListItem(i)
>
>on the previously disabled item.
>
>Now I need to know which items have been disabled.
>
>Any suggestions?
>
>Thanks.
*loop through the list and ask the question:
if left(myform.mylistbox.list(i),1)="\"
* This item has a backslash
* The advantage of using list is that it does not require the overhead to select
endif
Imagination is more important than knowledge