>>Hi!
>>
>>This property is a ListIndex. But I afraid the problem is different, and, FWIW, I cannot understand what is a problem at all from your message.
>>
>>In the VFP listbox has the same fnctionality of the Windows Explorer files list. So when all items selected, and you click on item - only that item is selected. Exactly in both WE and listbox. When you want to deselect only that item - you have to "Ctrl+Click" on the item. WE works that way. If you want the same way for ListBox - it is already there - just Ctrl+Click.
>>
>>So, can you describe more exactly what is the difference? Maybe you have some code in listbox that prevents correct behaviour?
>>
>
>Oops, you're right. I don't know, why on earth I thought, that it should be just click. I tested in WE and it's Ctrl+Click.
Dis you get it work?
I'm trying to implement the same idea but it doesn't work. No matter if I use Click or Ctrl+Click it unselects all items but current.
< snip >
--sb--