Hi All,
I’m having a little trouble with a script and i’m hoping to get some assistance.
I have a Tabbed Navigation project. As part of the project I have a few docked windows that I would like to only open when certain Tabs are selected.
I have added a property change script on my First Tier Tabs as follows, however it does not seem to be functioning (docked windows are always closed). Any ideas?
if system.gui.getParentWindow(event).getComponentForPath('Root Container.First Tier Tabs').name == "Butter":
system.nav.closeWindow('Milk CIP Docked Window')
system.nav.closeWindow('Milk Production Docked Window')
elif system.gui.getParentWindow(event).getComponentForPath('Root Container.First Tier Tabs').name == "Milk":
system.nav.openWindow('Milk Production Docked Window')
else: system.nav.closeWindow('Milk CIP Docked Window')