Database Reference
In-Depth Information
Scroll Window lets you simulate a vertical scroll bar click in a window. You can scroll
to the Home (top) or End of a window, or move up or down one screenful. You also get a
To Selection option, which scrolls the window so that the selected record and field value
both show. You'll design most of your windows so that scrolling isn't necessary, which
means you may never need this step.
Show/Hide Toolbars lets you decide if people should see the Status toolbar. You can
show or hide the Status toolbar, or ask that it be toggled (shown if it's hidden, and hidden
if it's showing). You can also turn on the Lock option to prevent people from manually
changing the Status toolbar. For example, if you never want anyone to see the Status
toolbar at all, then hide and lock it in the script that runs when your database opens. You
should always hide and lock the toolbar when you're using dialog windows. That way,
the Status toolbar is locked, and its toggle icon and menu command are grayed out. More
commonly, though, the Status toolbar is turned off and locked during a process, such as a
scripted find. You don't want people using the Cancel button during a Pause step to can-
cel a script and then end up dumped on a layout that you meant them to see only while a
script is running. If you hide the Status toolbar, though, you should provide a button that
cancels the process, in case people change their minds. That way, they don't have to go
all the way through a process if they get an urgent phone call and need to do something
different from the script's agenda.
Show/Hide Text Ruler can toggle, show, or hide the Text Ruler. Unlike Show/Hide
Status Toolbar , this step doesn't have a Lock option. Someone can always override
your setting, so this step is rarely worth the trouble.
NOTE
When you're sharing your database using WebDirect ( Server Hardware ), you may want to con-
trol what users can do for a couple of reasons. You might want to limit their access, but just as
often, you limit what they see to increase the database's performance. In that case, your login
script can check to see if users are accessing the file via WebDirect. Use the Get ( Applica-
tionVersion ) function to find out if they're using FileMaker Go (the function returns Go on
the iPhone or iPod Touch and Go_iPad on an iPad) or through a browser (the function returns
Web Publishing Engine).
Set Window Title lets you change any window's name. You can specify the current
window, or any window by name, as well as the window's new name. FileMaker nor-
mally names a window with the file's name, but you can tailor each window to show the
user's login name, for example. Write a script that runs when the file is opened, and use
Search WWH ::




Custom Search