Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7323 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

When doing the Move/Resize Window script step the size of the window appears to be the entire window, as opposed to the contents of the window. If I have windows contents size X by Y, what do I have to add to the height to include the size of the title bar and the footer bar (with the zoom icons and mode selector). And what do I add to the width to include the size of the Status Area and the scroll bar.

Are there system constants defined for these values? I doubt the title bar or scroll bars are the same pixel size in Windows and Mac OS and it would be nice to have a cross-platform solution.

- Jeff -

Posted

This was addressed recently by two custom functions: SetWindowHeight (height) and SetWindowWidth (width).

Posted

FMP 7 has Get functions that address all these issues, because window widget dimensions vary across platform and perhaps even between OS versions on the same platform. (I may have the exact function names wrong, I don;t have a copy of FMP 7 to check with right now.)

Get ( WindowContentHeight )

Get ( WindowHeight )

Get ( DesktopHeight )

Get ( ScreenHeight )

This topic is 7323 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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