2021-11-18 07:54 PM
Hello,
I have a custom container with clicklistener, and I add two of this in my screen.
How to distinguish which custom container was clicked?
void CustomContainer::boxClickHandler(const touchgfx::Box& b, const ClickEvent& evt)
{
if (ClickEvent::PRESSED == evt.getType())
{
// How to distinguish which custom container was clicked?
...
}
else{}
}
Solved! Go to Solution.
2021-11-18 10:03 PM
I solved the problem by using 'this' parameter.
2021-11-18 10:03 PM
I solved the problem by using 'this' parameter.