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.

How Can I Calculate Windows Screen DPI Setting?

Featured Replies

Is there a known calculation or "Get" function (I can't find one) that will identify if the Windows OS screen DPI setting is set to "Large Size" or 120 DPI (125%)?

I don't think there is one specifically for this - but you could see if Get(ScreenWidth) changes in the two modes

  • Author

Get(screenwidth) and Get(contentwidth) are related to the size of the displayed window.  I want to measure DPI (96 or 120) of the window, which is not directly related to filemaker zoom (75%, 100%).  I want a script to detect 96 DPI to set zoom to 100% and 120 DPI to set zoom to 75%.

I don’t see why you would need to know this, since the screen view is controlled by the user, wouldn’t it be up to them to zoom in or out, change the dpi in their monitor settings, etc.?

 

Lee

 

PS

 

Perhaps if you explained why you need this information, maybe we can come up with some additional ideas

Edited by Lee Smith
PS

  • Author

The point you are missing is that Filemaker zoom controls the zoom level (75% or 100%) of a defined window size (1366 x 768 px) and DPI controls the magnification (96DPI-100% or 120DPI-75%) within a defined window size (1366 x 768 px).

 

To accomplish my end, I have had to create four global text fields (HOST_Normal, CLIENT_Normal, HOST_120DPI and CLIENT_120DPI).  I can then set my Windows XP Filemaker HOST Monitor to "96DPI" and 1280 x 768 px.  I can then set my Filemaker Windows 8.1 Filemaker CLIENT Notebook to "120DPI" and 1366 x 768 px.  Now when various layouts are selected, a "Reset Screen" script determines the correct Filemaker zoom setting based on the global text fields outlined above and maintains a predetermined window width and height.  This works very well, but I would rather simplify the "Reset Screen" script by being able to use a Get ( ScreenDPI ) = "96" and Get ( ScreenDPI ) = "120" element if possible.

 

See the attachment if you want to review the "Reset Screen" script content.

Reset Screen.pdf

I don’t have time to look at the script,  however perhaps this  article by Matt Petrowsky will help Designing for Retina

This is very good information Lee.  Thank you very much.

  • 2 years later...
  • Newbies

You can use funtion : Get(ScreenScaleFactor) . it will return 1, 1.25 or 1.5 in window mode

It didn’t exist in Version 11

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.