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

I am trying to use the top of one window to move the top of another window to the same spot.

I set a global variable using Get(WindowTop) then call a script in the second window with a resize step and set the top field to "$$top" - it doesn't work.....

Can one use global variables in the resize dialogue?

When you call the script for the second window is it part of the same database or is it in a second file? Global variables can be passed from one script to another in a single database but not to a script in an external database.

Otherwise a global variable should work fine to resize or move a window.

  • Author

different file

ok so why cant the resize look up a field in the original database ?

thanks for the input

Variables are not passed between files. However, you can pass a variable as a Script Parameter between files.

RW

  • Author

Im going to see what I can do with script parameters but in the meantime I accomplished what i wanted to copy and pasting from field in DB1 using scripts in DB2 and then picking up those pasted values in the resize dialogue - its pretty clumsy and I dont want to keep doing it for every file in the solution.

ok so why cant the resize look up a field in the original database ?
I'm not sure how you would do that. Get(WindowTop) only applies to the current window.

Instead of using a global variable save the results of Get(WindowTop) to a global field in the external database. Then call the external script, open the new window and use the global field in a move/resize step.

different file

ok so why cant the resize look up a field in the original database ?

It can. And even more easily if it is a global field. Also note that you do not need to call a script in window 2. Scripts in window 1 can move the windows for file window 2.

WMove.zip

Edited by Guest

  • Author

hmmmmmm-this is what I was trying to do - I will need to see where I was going wrong

Thanks for the effort

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.