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

Been extending my mathematics over the last day, and thought those of you working at a similar level of development (ie. very basic) might like this little operation to get your windows to pop-up in the middle of a user's screen.

When using the MOVE/RESIZE WINDOW script step, add the following calculations in the dialogue box;

- select 'specify' for both 'distance from left' and 'from top'

In the calculation, enter:

(Get ( ScreenWidth )-Get ( WindowWidth )) / 2

(for the 'from left' option)

and

(Get ( ScreenHeight )-Get ( WindowHeight )) / 2

(for the 'from top' option)

In addition, I created two custom functions to return these calculations whenever I need them

Window to Centre Height

and

Window to Centre Width

Then when working with the 'specify' option, you can just call the custom function for each option.

Seems to work OK.

Andy

FileMaker Version: Dev 7

Platform: Mac OS X Panther

Hi Andy,

Thanks for the ideas! smile.gif

One thing however ... I've found that I don't need (or really want) the screen size, but rather want what FM refers to as the desktop size. Why? Because the screen size doesn't take into account whether someone's task bar is displayed. And if you want a 'full window,' part of it may be hidden under a task bar. Or if their task bar is displayed on the side, it won't center perfectly.

By using Get (WindowDesktopHeight) instead, it centers no matter whether their task bar is showing - or whether they have dragged it to two row-height or placed it on the sides. So I use WindowDesktop for determining both height and width available for my windows placement. At least that's what my tests indicate. But I'm still just a newbie with FM7. crazy.gif

FileMaker Version: Dev 7

Platform: Windows XP

  • Author

Bonza beauty mate - that's apples!

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.