Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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. 

Screen Shot 2019-04-18 at 10.43.35 AM.png

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 by comment

  • 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

  • Author

@comment Thank you, working well. 

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.