PDA

View Full Version : activate event for child controlls



pinidbest
7 Jun 2012, 4:57 AM
Hi I have a panel with more panels as child items.
The upper item is part of panels with card layout and I want that when the activate is fired on these panel the inner panel will know as well.
I see there is a bubbleEvents list but for bubbling up

How do a child item listen to a parent activate event?

mitchellsimoens
11 Jun 2012, 7:00 AM
One of two ways... each child can add a listener on the parent. The parent can fire a parentactivate event on each child item.