Database Reference
In-Depth Information
Users can't select other windows, switch modes, open a new file, or run a script until the
window is closed. Use this option to create a custom dialog box with as many data entry
fields, text blocks, and other layout objects as you need.
Figure 12-18. FileMaker gives you near-complete control over new windows you create with the
Specify Advanced Window Style Options dialog box. If the Show Custom Dialog script step doesn't
give you the options you need, turn to this powerful script step to build a layout that will get the
custom job done.
Setting a window's style is just the first part of the control you get. You can also do away
with the native buttons that document windows normally show. For example, if you create a
custom layout for entering customer data and then call that layout in a script using a dialog
window, you should turn off the user's ability to close or minimize the dialog window. If you
don't, they could short-circuit your script by closing the window without entering the data
the script needs, or minimize the window and then be stuck because they can't do what the
script requires. Here's the scoop on the options:
▪ Turn off the Close control when you want to keep users from closing the window before
you're ready. If you turn off the Close control, you'll need to give users some other way
to close the window, like a custom Close button that runs a script.
▪ Turn off the Minimize and Maximize controls when you don't want users changing the
size of your custom window by using the buttons that appear in default windows' title
bars.
▪ Turn off the Zoom Control Area if you don't want users to be able to zoom the window.
Surprisingly, this command also disables the mode pop-up menu next to the zoom con-
trol. Unfortunately, you can't allow zoom control without allowing mode control. These
two work together.
Search WWH ::




Custom Search