General information
Category:
Forms & Form designer
Because click has default windows behavior I would use rightclick event instead. Also you may not need to iterate through a loop each time.
*RightClick
this.Selected(1) = .t.
KEYBOARD '{SHIFT+END}{SHIFT+HOME}'
>Hello everyone,
>
>I want to implement a multiselect listbox that allows multiselecting without using the Control button. By that I mean it should work the same way, but just using the click on the mouse, not requiring the control button to be pressed. However, right now the when the user clicks in the listbox, it just selects that one item. On the Click event, I keep track of which ones have been selected and then run through a for-loop reselected each one. Is there a way to prevent FoxPro from unselected the items when a mouse click happens so that I don't need to iterate through a loop each time? Or is there a way to make it seem transparent to the user (right now you can notice that one item is selected on the click, but then reselects everything else)?
>
>TIA
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only