Working with windows
When you want to control the flow of a procedure or work on several tasks concurrently, you can have more than one window open at a time. For example, additional open windows can display alerts, prompt a user for information, or provide different views of data.
•To open a new window based on the active window, choose Window menu > New Window.
•To open a new window that displays a different layout or behaves differently than the current window, create a script that includes the
New Window script step. See the steps below.
Creating a window that opens with a script:
It is not necessary to enter values for each option. When no value is entered, FileMaker Pro uses the default value associated with the Window menu > New Window command.
1. Choose Scripts menu > Script Workspace.
2. Click
, enter a name for the script, then press Enter.
3. In the script steps pane, double-click the New Window script step.
4. In the script editing pane, click
to open the "New Window" Options dialog box.
5. For Window Name, enter a title for the window.
6. Specify the dimensions and position of the new window.
Tip You can create a new window offscreen by supplying negative top and left values; this can be useful for multiple-monitor environments.
7. Select Specify Advanced Style.
8. For Window Style:
Choose | To |
Document Window | Create a window that users can minimize, maximize, restore, or close; or that starts a new process as users work. |
Floating Document Window | Create a window that remains on top of other windows even when the floating window becomes inactive. |
Dialog Window (Modal) | Create a window that appears in the foreground and can’t be minimized. Users must close all open dialog windows before they can activate an open document window. |
9. For Window Controls, select which controls you want to enable in the new window.
Note Zoom Control Area includes the zoom control and
Mode pop-up menu at the bottom of a document window.
10. Click OK twice to save your changes and return to the script editing pane.
11. Choose File menu > Save Script (Windows) or Scripts menu > Save Script (OS X), then close the Script Workspace.
12. To open the new window, choose the script from the Scripts menu.
Notes
•In Windows:
•When a window is maximized, the maximize and restore buttons become a single button.
•When you disable both the maximize and minimize buttons, these buttons do not appear in the window’s title bar.
•You can use a script or
button script step to control a window, even if a button is disabled in the window’s title bar.