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

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

Recommended Posts

Posted

Can someone tell me if you can set the HEIGHT and WIDTH of the NEW WINDOW script to a 0 or Negative number.

The reason I ask is that I've been getting these "an unsupported operation was attempted" errors and when I use the script debugger it seems that the New Window script is the culprit and I realized that I have the Width and Height set to 0 and NOTHING in documentation states that I cant set those parameters to 0 or a negative number. The documentation states:

Minimum height and minimum width depend on the operating system of the user performing the script. If the height or width you specify are less than the minimum, FileMaker Pro uses the minimum values.

I'm assuming that 0 or a negative number would be OK !!! I was trying to set an offscreen window so I guess I should make the W and H at least 1 and then set Top and Left to a negative number.

Anyone?

Thanks in advance.

Dom

Posted

Never did try 0 for width or height. But that doesn't sound acceptable. Just go for the 1x1 pixel with a negative Top/Left.

Posted

Thanks I guess I just needed to hear that. I don't know what compelled me to put 0 x 0 for Height and Width. Even now that I'm actually thinking about it - it doesn't make sense to me either. LOL

Posted

Hi Dom -

I use Height, Width, and Top of "0", and a Left of "-300" all the time with the New Window script step to open a window off the screen. I don't receive any errors when I do this.

This may behave differently on Mac. I mostly develop on Windows.

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