Right click list event?
BlitzMax Forums/BlitzMax Beginners Area/Right click list event?
| ||
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. |
| ||
Maybe it wasn't such a stupid question then :) anyone? |
| ||
you should get a mousedown event shouldnt you? have you tried print currentevent.tostring() after your wait event? |
| ||
Unfortunatly there is currently no rightclick event. Also there is no doubleclick event, what IMO would be a useful addition. |
| ||
you'd think other gadgets would do MouseDown: MouseUp: MouseMove: like a canvas... |
| ||
AFAIK the only list based gadget that can receive click events including right-click is the treeview gadget |
| ||
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. |