mainModule panel name from naviModule

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

mainModule panel name from naviModule

Post by tmalone »

I just cannot seem to get the syntax correct for this:

How to get the panelFileName from the mainModule when on a different module?

You can see that on a panel: this.panelFileName() returns the path and file name. great!

After navigating around, how can I get the mainModule file name even it is mulit monitors?

I tried envokeMethod and cannot seem to get that syntax correct either.

After a few hours, I come to the collective knowledge of the community.

Todd Malone

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

Re: mainModule panel name from naviModule

Post by leoknipp »

With the function getVisionNames() you can get all Vision modules.
At the function panelFileName() you can specify for which module and panel you want to read the information.

Best Regards
Leopold Knipp
Senior Support Specialist

tmalone
Posts:192
Joined: Mon Nov 22, 2010 11:21 pm

Re: mainModule panel name from naviModule

Post by tmalone »

how to get a panel name from any module?

getValue("mainModule_2", "panelName", someString); ???

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

Re: mainModule panel name from naviModule

Post by leoknipp »

With the function rootPanel([string modulename]) you can get the panel name for a panel opened in a module.

Best Regards
Leopold Knipp
Senior Support Specialist

4 posts • Page 1 of 1