ButtonController

BlitzMax Forums/BlitzMax Beginners Area/ButtonController

Kistjes(Posted 2007) [#1]
Consider the following OOP structure:


(it's not really the complete code but you get the idea).

This will not compile, because "Identifier mouseUp() not found." at line
poCtrl.mouseUp()


How can I link a variable type to another type. In this example I want to link a button with a toolbarButton object. In another situation I need to link the same button type to a different object.
I thought I need to use
Object
as a type specifier.