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.

Resize window

Featured Replies

Hi there!

I'm putting in startscripts in all my files that include the step resize window. The problem is that the result differs depending if you are a mac or a win user. In Windows XP the window is a little bit smaller. Any ideas why?

Fridolin

You have to place an If condition in your script and look out for the system your solution is currently used. Use the status function "Get ( System Platform )", from FM Help:

  • Author

Thank's for the input.

But it is a bit strange. I mean, a pixel is a pixel... Oh well, the thing I work on now will run mostly on mac, so I think I'll save myself some work by leaving a margin instead. Do You know if there are any standard docs on window sizes on different platforms. Would save a lot of work on my next project.

Fridolin

The window size settings include the border of the window. On Windows, these are under user-control, they can differ depending on the theme being used, etc.

FM7 has new methods, Get(WindowContentHeight) and Get(WindowContentWidth) that would allow you to compute the current size of the borders when doing a resize, to guarentee you get a consistent size for the content-area, which sounds like what you want.

  • Author

Thanks for the tip!

Didn't know about these functions. On a energetic day I'll try to implement it. That's the problem, all these new nice features in FM 7 are great but they mean more work and I'm a lazy bugger.

Fridolin

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

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.