Jarvis Posted January 10, 2004 Posted January 10, 2004 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
Lee Smith Posted January 10, 2004 Posted January 10, 2004 Here is the link to a recent discussion that may help you Lee
DanBrill Posted January 10, 2004 Posted January 10, 2004 Thanks for that link Lee. The most remarkable part about it was that Ugo was asking a question rather than answering one! 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
Jarvis Posted January 11, 2004 Author Posted January 11, 2004 Thanks Dan & Lee! So when does FM7 release? Jarvis
DanBrill Posted January 11, 2004 Posted January 11, 2004 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
Jarvis Posted January 13, 2004 Author Posted January 13, 2004 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now