EventSource() and EVENT_GADGETMENU

BlitzMax Forums/BlitzMax Programming/EventSource() and EVENT_GADGETMENU

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi all,

I'm having trouble determining the source of Gadget Menu events. I have several right click menus I'd like to display depending on what gadget the user clicked on.

I would have assumed that the Event Source would simply be the Gadget the user right-clicked on to produce this event ( as with other events such as EVENT_GADGETOPEN), but this seems not to be the case.

Do I need to manually determine what the mouse was over at the time of the event or is there some bug here?

Should also mention I'm working on Mac. There is another, perhaps related bug at the moment where the right-click menu appears at the bottom of the screen rather than under the pointer.