Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox little problem
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00579643
Message ID:
00582967
Views:
44
>>>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 >

Yes, I did. The solution was - not program them at all :) Ctrl Click in ListBox already behaves correctly and click too.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform