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 ?
multiple panels closing behavior
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: multiple panels closing behavior
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
Otherwise closing a specific panel does not work.
Best Regards
Leopold Knipp
Senior Support Specialist