Right click list event?

BlitzMax Forums/BlitzMax Beginners Area/Right click list event?

King Dave(Posted 2006) [#1]
This may be a very stupid question... but how do i detect if a user right clicks a list gadget? As far as I can see no event is created when they do this.


King Dave(Posted 2006) [#2]
Maybe it wasn't such a stupid question then :) anyone?


Chris C(Posted 2006) [#3]
you should get a mousedown event shouldnt you?

have you tried
print currentevent.tostring()

after your wait event?


klepto2(Posted 2006) [#4]
Unfortunatly there is currently no rightclick event. Also there is no doubleclick event, what IMO would be a useful addition.


Chris C(Posted 2006) [#5]
you'd think other gadgets would do

MouseDown:
MouseUp:
MouseMove:

like a canvas...


assari(Posted 2006) [#6]
AFAIK the only list based gadget that can receive click events including right-click is the treeview gadget


King Dave(Posted 2006) [#7]
Only events that appear to be generated currently is an EVENTACTION when the selection changes or when they double click an item (so in a way you can detect a double click, just have to check it was the last selected item too so a single click doesn't set it off).

Oh well, I'll try and catch it another way :)
Thanks for the help.