Re: [Gambas-user] Problem implementing events _inside_ a class

2008-06-26 Thread Patrik Karlsson
2008/6/26 Benoit Minisini <[EMAIL PROTECTED]>: > The first question is: why do you need to catch MouseDown events inside > CDiceBoard class? Well, I want do do some action, that must always execute for every instance of the class, without having to do the code for every object. > Anyway, events a

Re: [Gambas-user] Problem implementing events _inside_ a class

2008-06-25 Thread Benoit Minisini
On mardi 24 juin 2008, Patrik Karlsson wrote: > 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

[Gambas-user] Problem implementing events _inside_ a class

2008-06-24 Thread Patrik Karlsson
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 CDice