Hi,
I need the script in order to change the tab strip to a “Button1” when the application starts.
I try to put the code on Client Event / Startup / :
ActWindow = system.gui.getWindow(‘Commons/Win_Navigation’)
AuxTabStrip = ActWindow.rootContainer.getComponent(“TabStripCtrl”)
AuxTabStrip.selectedTab = “Button 1”
But It returns the error that getWindow is not possible on Startup.
Any suggestion?¿ Thanks in advance,
Guillem
Option 1: Make sure it’s selected in the designer, then save the project.
Option 2: Use your script in the internalFrameOpened event of the window. To get to the scripting properties of the window, right-click on its name in the project tree.
Option 2 much better for my issue.
Thanks