multiple panels closing behavior

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
Search

Post Reply
2 posts • Page 1 of 1
walterd
Posts: 30
Joined: Wed Mar 13, 2013 9:39 pm

multiple panels closing behavior

Post by walterd » Sat Oct 12, 2019 3:13 pm

I have a panel Comms_Out.xml, that is called with the following script from a main panel that has multiple buttons selecting the $DP required.

main(mapping event)
{
EP_childPanelOn();
}

void EP_childPanelOn()
{
ChildPanelOnRelativ("objects/Comms_Out.xml","",
makeDynString("$DP:"+$DP),
100, 150);
}

The $DP is used to populate the data content on the panel.

I can open multiple panels, but when I close one of them, the first opened close first. A total confusing beahvior.
The panel carry the same graphics for a bunch of different situations determined by the $DP,

Is there anything I can do to fix this problem ?

User avatar
leoknipp
Posts: 1936
Joined: Tue Aug 24, 2010 5:28 pm

Re: multiple panels closing behavior

Post by leoknipp » Mon Oct 14, 2019 7:24 am

If you open child panels several times you have to pass a panel name at the function ChildPanelON*. In your example no panel name is defined.
Otherwise closing a specific panel does not work.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
2 posts • Page 1 of 1