differentiate leftclick and rightclick on listbox

Started by HandsFree, Sat 07/07/2018 15:20:32

Previous topic - Next topic

HandsFree

Hi,

Is it possible to make a difference between leftclick and rightclick on a listbox?
I have the code under the only listbox option, OnSelectionChanged, but it fires on right and leftclick.
I suppose I want the selection NOT changed when rightclicking.

How do I do that?

thanks

SMF spam blocked by CleanTalk