How to control a graphic object in other panel.

Find and share HowTos to various installations / configurations!
5 posts • Page 1 of 1
BenjaminSeeker
Posts:30
Joined: Wed Jan 12, 2011 9:51 am

How to control a graphic object in other panel.

Post by BenjaminSeeker »

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.

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

Re: How to control a graphic object in other panel.

Post by leoknipp »

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

Gertjan van Schijndel
Posts:634
Joined: Mon Aug 02, 2010 10:37 am

Re: How to control a graphic object in other panel.

Post by Gertjan van Schijndel »

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.

Post by leoknipp »

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

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: How to control a graphic object in other panel.

Post by mkoller »

Small typo: it is "modulename.panelname:shapename" (colon, not semicolon)

5 posts • Page 1 of 1