multiple panels closing behavior

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
2 posts • Page 1 of 1
walterd
Posts:38
Joined: Wed Mar 13, 2013 10:39 pm

multiple panels closing behavior

Post by walterd »

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 ?

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: multiple panels closing behavior

Post by leoknipp »

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

2 posts • Page 1 of 1