Skip to Content
0
Former Member
May 17, 2016 at 09:18 AM

Posibility to get object by name

18 Views

Hey,

I'd like to find a panel by name and assign it as a property of exportPanelScreen.

The following code does not work, because panel_name is an string and not a panel.

var panel_name = "PANEL_" + TABSTRIP_1.getSelectedTab()

PDF.exportPanelScreen(panel_name);

As I know, there is no possibility to convert the string into a panel or to get an object by name.

Does anyone knows a way or workaround to solve the problem?

Thanks a lot

Markus