>Hi everybody,
>
>I've added Selected All feature for my multiselect listbox (by button and by Ctrl+A). Now, when I click on item in ListBox with all items selected, it selects only this item and deselect all others. It's not the same behavior in WE, where it's exactly oposite. So, I'd like click on ListBox to behave this way: if this item is selected, it should deselect it. How can I make this? I'm a little bit confused, which ListBox property I need to use.
>
>Thanks in advance.
You want to toggle all values to the opposite?
with thisForm.list1
for i = 1 to .listcount
.selected(i) = !(.selected(i))
next i
endwith
Steve Gibson