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

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

Recommended Posts

Posted

In my drawing software I can define a specific district of the drawing sheet and zoom to it in a way that makes that part of the document fill the screen.

In Microsoft Excel I can define a range of cells then return to that part of the document by clicking a macro (script) button.

In filemaker I can set the zoom level of a layout with a script, but :

Is there a way I can script a specific quadrant of a layout to zoom and fill the screen with just that quadrant?

Thanks.

Jarvis

Posted

Thanks for that link Lee. The most remarkable part about it was that Ugo was asking a question rather than answering one! smile.gif

Jarvis, you could also consider a workaround by duplicating your original layout 4 times and then cropping out 3/4 of each one so that you are left with one quadrant. Then direct your script to the layout of the quadrant that you need. Not pretty, but may get you there.

I really hope that FM 7 will improve on the control of windows, menus, dialog boxes, floating toolbars, and other "right brain" stuff.

Good Luck,

Dan

Posted

Here's another alternative. Create 4 "invisible" fields. Make them 1x1 pixle, no border, transparent. Don't allow entry. Put one in each corner that you want to zoom to (lower right, upper right, upper left, and lower left), and create a script that selects that field. The screen will jump to that part of the layout.

Dan

Posted

Dan,

Your idea sounded really good, so I tried it.

I created four fields: CORNER 1 :::CORNER 2:::CORNER 3:::CORNER 4

then placed them far enough apart that they required scrolling to view.

I then produced the following scripts:

SCRIPT 1

GO TO FIELD (Corner 1)

SET ZOOM to 400%

SCRIPT 2

GO TO FIELD (Corner 2)

SET ZOOM to 400%

When I run the first script I ended up at CORNER 1

When I run the second script I ended up at CORNER 1 again.

Do you have any ideas about what I'm doing wrong?

I've attached a sample file in case you have time to look at it.

Thanks,

Jarvis

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