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.

Display Layout from Another File (Newbie question)

Featured Replies

hi there,

i'm trying to do something very basic, but being new to this am having no success. I simply want to have a button no a layout which minimises the current window and calls a layout from a file with related fields and displays that layout maximise. Sounds like it should be simple, but I can't get the scripting right. Any help appreciate.

Version: v6.x

Platform: Windows XP

You don't have to minimize the first layout. Have a script in the second file with a GoTo Layout. Call this script from the button on the layout in the first file. FM will bring the second layout to the front.

Steve

  • Author

thanx, i knew it must be easy, but couldn't see it!

  • Author

duh, just tried it, but can't in the 'perfrom script' window, can't get to the scripts in the other, only the ones in the current file. ??

  • Author

duh, just tried it, but in the 'perfrom script' window, can't get to the scripts in the other, only the ones in the current file. ??

At the top of the drop-down for the Perform Script Step is ...External Script.

Select it, then choose a file.

Steve

Actually the Perform Script step, when attaching a script to a button, does not offer the External option. What you need to do is create a script in File 1 that includes a Perform script step, referencing the external script in the second file. Then in the first file, attach that script to a button.

Echo

Make sure the script in the related file ends with "Refresh Window [bring to front]" to force FMP to bring the window forward.

  • Author

thanx everyone for helpful tips.

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.