[Gambas-user] Problem implementing events _inside_ a class
Patrik Karlsson
patrik at ...1931...
Tue Jun 24 20:56:55 CEST 2008
Hi, since I'm new to Gambas it's a constant struggle, but a nice one that is. :)
I'm writng a class, CDiceBoard, that INHERITS Panel.
Everything went ok until it was time to implement some events for my class.
The following code works, but not the way I want it to be.
---
DIM hDiceBoard2 AS CDiceBoard
hDiceBoard2 = NEW CDiceBoard(ME) AS "myDiceBoard"
PUBLIC SUB myDiceBoard_MouseDown()
DEBUG
END
---
How can I put the _MouseDown() inside CDiceBoard.class and make it work?
Regards
--
Patrik Karlsson
More information about the User
mailing list