The eventhandler Mechanism for basewidget. [message #87691] |
Sun, 23 February 2014 09:29  |
Jie Zhou
Messages: 27 Registered: February 2014
|
Junior Member |
|
|
Hi everyone,
Now I define a class inherits from BASEWIDGET class. Also I overwrite the enenthandler method of basewidget. What I want to do is to compositing several widgets into one basewidget object. I'd like to process all the events generated from the inner widgets. But now the problem is the eventhandler can not get any events. But when I inherits from toplevelbase class, it works. Can you tell me why?
Best regards,
Jie ZHOU
|
|
|
Re: The eventhandler Mechanism for basewidget. [message #87694 is a reply to message #87691] |
Sun, 23 February 2014 14:59  |
Jie Zhou
Messages: 27 Registered: February 2014
|
Junior Member |
|
|
On Sunday, February 23, 2014 6:29:47 PM UTC+1, Jie Zhou wrote:
> Hi everyone,
>
> Now I define a class inherits from BASEWIDGET class. Also I overwrite the enenthandler method of basewidget. What I want to do is to compositing several widgets into one basewidget object. I'd like to process all the events generated from the inner widgets. But now the problem is the eventhandler can not get any events. But when I inherits from toplevelbase class, it works. Can you tell me why?
>
> Best regards,
>
> Jie ZHOU
Sorry, I find something wrong in my code. It's my fault.
Thanks.
|
|
|