Method pointer?

BlitzMax Forums/BlitzMax Programming/Method pointer?

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.

The event handler is a function (the hook) is a function, outside any class, and events are thrown by MaxGUI gadgets not by the class instances that should handle them. that's the point. I could fix it if the classes would extend the gadget class, but that's not what I want, that's the problem.