currently focused gadget

BlitzPlus Forums/BlitzPlus Programming/currently focused gadget

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.

...you would have to use the mouse down event to keep track of the last gadget selected ...

But MouseDown only works on canvases, so that wouldn't be feasible.

Similarly, I thought you might be able to wait for a GadgetAction event and then find out what gadget it came from, but apparently a change of focus does not qualify as a GadgetAction.