Hi,
when ‘multiple selection’ is enabled in the Listbox, a right mousebutton (to invoke a contextual menu) kills the multiple selections. How to overcome this?
Hi,
when ‘multiple selection’ is enabled in the Listbox, a right mousebutton (to invoke a contextual menu) kills the multiple selections. How to overcome this?
Maybe see Karen’s post:
https://forum.xojo.com/3493-multiple-selection-listbox-contextual-menu-problem/0
[quote=262542:@Peter Job]Maybe see Karen’s post:
https://forum.xojo.com/3493-multiple-selection-listbox-contextual-menu-problem/0[/quote]
Solved by putting this in the Mousedown event:
if IsContextualClick then
return True
else
return False
End if
The return False is important otherwise multiple selections are not possible.
Thanks Peter.