I made three panels,
1. GET_SHAPE.xml
2. GET_SHAPE_EM.xml
3. SYMBOL.xml > dyn_string dyn_strList;
>> dyn_strList = getshapes("EM","GET_SHAPE_EM.xml","",true);
but I can't get list.
Please, let me know can I get shapes list which place in embedded module.
Thank you.
How can I get shapes list which place in embedded module?
- yjsid939
- Posts:13
- Joined: Mon Dec 23, 2013 3:44 am
How can I get shapes list which place in embedded module?
- fmulder
- Posts:330
- Joined: Wed Feb 03, 2010 9:46 am
Re: How can I get shapes list which place in embedded module?
Look in the help file under:
"CONTROL \\ Control graphics \\ Access shapes in other panels and modules".
when you place SYMBOL.XMl then you must give this shape a nice name. E.g. "MYSYMBOL". You should then be able to adress this shape via:
setValue( "EM.EM:MYSYMBOL.RECTANGLE1", "foreCol", "red" );
Good luck and 'share the fun'
Frenk Mulder
"CONTROL \\ Control graphics \\ Access shapes in other panels and modules".
when you place SYMBOL.XMl then you must give this shape a nice name. E.g. "MYSYMBOL". You should then be able to adress this shape via:
setValue( "EM.EM:MYSYMBOL.RECTANGLE1", "foreCol", "red" );
Good luck and 'share the fun'
Frenk Mulder
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: How can I get shapes list which place in embedded module?
The function 'getShapes' takes the panel name instead of the file name of the panel.
So in your case use 'getshapes("EM", "EM", "", true)' or 'getshapes("EM", rootPanel("EM"), "", true)'.
So in your case use 'getshapes("EM", "EM", "", true)' or 'getshapes("EM", rootPanel("EM"), "", true)'.