Jump to content

Set Windows Size


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

Recommended Posts

These two custom functions will make it easier to determine the dimensions of a new window

all you need to do is to make a mental note of the size of your background image

or create a rectangle starting at 0 x 0 pixels (upper left) and then size it to fit the

area you want. Then the H & W of this rectangle is used when you create a new

window via a script.

Use the custom functions below in the window h & w fields of the dialog it will

take in to consideration the scroll bar/ & title bar and on both platforms.

SetWindowHeight (height)

height + Case (Get (SystemPlatform) = -1; 37;54)

SetWindowWidth (width)

width + Case (Get (SystemPlatform) = -1; 15;27)

Link to comment
Share on other sites

This topic is 7105 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.