How can I handle the click/drag event in a custom container that is in a custom container?
Hi everyone,
The screen hierarchy is like below,
--------------------------------------------------
View
|-->MyCustomContainer
|------> PopupCustomContainer (under the MyCustomContainer)
------------------------------------------------------------------------------------------------
I can handle the click/drag event in MyCustomContainer which is under the view.
I created another custom container that is a pop-up screen to show on MyCustomContainer. I want to handle the click-and-drag event in PopupCustomContainer but can't.
View::handleClickEvent(evt);
cntAirConditioner.handleClickEvent(evt); // my custom container that have a custom container.In the view screen, I called these functions but in this situation, the events are triggered twice on MyCustomContainer. If I just call the "View::handleClickEvent(evt)", I can handle the events in my custom container but I can't handle the other custom container which is in my custom container.
I hope the explanation is clear.
Thanks for your help.
