What's wrong here? Type-creation causing crash

BlitzMax Forums/BlitzMax Beginners Area/What's wrong here? Type-creation causing crash

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 problem is

Field mouse:tmouse = New tmouse

in your tgui.

It means each instance of a gui object has its own (non-updating other than the top gui object) mouse object.

what if you change it to :

Global mouse:tmouse = New tmouse

Then all gui instances "share" the same mouse...

?