Events, Hooks etc

BlitzMax Forums/BlitzMax Beginners Area/Events, Hooks etc

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.

Mods etc are internal values that you can send with an event. For example the mouse sends with its x,y (position), other events send mods (modifier key values) or even extra (which is great if you want to have an object fired on event ... for example if we could do a collision event this would be extremely handy to specify the other colided object)


tonyg: Yes it works if I ask for the ID. The problem is that I have more than one timer in and that I need a specific one and if I check for TEvent(data).source = timer.
But for some reason tevent(data).source is null which makes totally no sense. It seems like starting an eventhook within a method or creating a type global timer, which emits the event just don't work ... have to find out which part it is (or if it is somehow related to private).
The timer is created, that part is already checked ...

stupid inconsistent behavior of BM is really making me angry and frustrates me