1 Reply Latest reply on Apr 27, 2015 7:52 AM by TSGal

    Pop up window not relative to main database window

    HenryBoyer

      Summary

      Pop up window not relative to main database window

      Product

      FileMaker Pro

      Version

      12

      Operating system version

      Mac

      Description of the issue

      I can't come up with a solution or script steps to position pop up windows relative to the main database window' current position on my desktop.  Wherever the main database window is on my desktop, my pop up windows can be "smart and follow the position relative to that location.   Example: if my filemaker program is running on left side of my desktop, and if I have my pop up window to open in the middle of my main layout, then when I move my program to right side of  my desktop, the pop window, should still open in the  middle of my layout on the right side.

      Steps to reproduce the problem

      I tired to calculate my pop up window location relative to the main layout window's dimensions.  I have no success in doing this, I am a  beginner, I don't know if I am using the right method to do that action.

        • 1. Re: Pop up window not relative to main database window
          TSGal

          Henry Boyer:

          Thank you for your post.

          Make sure you are using the Get(WindowWidth) and Get(WindowHeight) functions to get the width and height of the current window.  If you want the position in relation to the entire screen, then use the Get(ScreenWidth) and Get(ScreenHeight) functions.

          Let me know what you have been using so I can try to replicate the issue here.

          TSGal
          FileMaker, Inc.