Now I want to control a graphic object in other panel.
For example, I want input some parameter into a popup panel, then add a line to a table in mother panel.
How to control a graphic object in other panel.
- BenjaminSeeker
- Posts:30
- Joined: Wed Jan 12, 2011 9:51 am
How to control a graphic object in other panel.
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to control a graphic object in other panel.
Hello,
with the notation "modulename.panelname;shapename" you can modify graphical objects in another panel for the same user interface.
For details please have a look at the online help: CONTROL --> Control graphics --> Graphics objects --> Access shapes in other panels and modules.
Best Regards
Leopold Knipp
Senior Support Specialist
with the notation "modulename.panelname;shapename" you can modify graphical objects in another panel for the same user interface.
For details please have a look at the online help: CONTROL --> Control graphics --> Graphics objects --> Access shapes in other panels and modules.
Best Regards
Leopold Knipp
Senior Support Specialist
- Gertjan van Schijndel
- Posts:634
- Joined: Mon Aug 02, 2010 10:37 am
Re: How to control a graphic object in other panel.
For passing parameters to a popup panel you can use $-parameters. For returning data from a popup panel you can use the return values (dyn_float and dyn_string).
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to control a graphic object in other panel.
Hello,
to be able to use the return values you have to use one of the ChildPanelOn*Return-functions to open the child panel. When closing the child panel you have to use PanelOffReturn().
Best Regards
Leopold Knipp
Senior Support Specialist
to be able to use the return values you have to use one of the ChildPanelOn*Return-functions to open the child panel. When closing the child panel you have to use PanelOffReturn().
Best Regards
Leopold Knipp
Senior Support Specialist
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: How to control a graphic object in other panel.
Small typo: it is "modulename.panelname:shapename" (colon, not semicolon)