April 18, 20196 yr Hi All, Basically the layout we have has many tab panels, and I have a forward and back button that navigates through the layouts. What they would like is when they come back to this layout it goes to the last tab panel (s) they were out. I would think a script that stores the isfrontpanel (layoutobjectattribute) in a merge variable but I am having a hard time figuring this out. It seems like it should be simpler and perhaps my brain isn't working correctly this morning (it happens! Lol). Can't see the forest for the trees. I included a screen shot as an example.
April 18, 20196 yr I would give each panel an object name and attach an OnPanelSwitch script trigger to the tab control object, doing: Set Variable [ $$targetPanel; Value:Get(TriggerTargetPanel) ] Then attach an OnLayoutEnter script trigger to the layout, doing: Go to Object [ Object Name: GetValue ( $$targetPanel ; 2 ) ] Note that this memory lasts for the duration of the current session only. Edited April 18, 20196 yr by comment
April 18, 20196 yr Author 51 minutes ago, comment said: I would give each panel an object name and attach an OnPanelSwitch script trigger to the tab control object, doing: Set Variable [ $$targetPanel; Value:Get(TriggerTargetPanel) ] Then attach an OnLayoutEnter script trigger to the layout, doing: Go to Object [ Object Name: GetValue ( $$targetPanel ; 2 ) ] Note that this memory lasts for the duration of th current session only. Okay, great thank you! I was headed in the right direction, the OnLayoutEnter I missed. I will try it and let you know how it goes. Caroline
Create an account or sign in to comment