Developer’s Guide

Table Of Contents
3-6
Developer’s Guide
In addition, the Design Tools folder includes a database named
Creating Dynamic Buttons.fp5—a short tutorial for how to make a
button perform multiple scripts and appear in multiple states of
operation (such as depressed when clicked, raised when not clicked).
FileMaker Developer 5 > Design Tools > Examples > Creating Dynamic
Buttons
To use a button image sample in your database:
1. Copy the object from the Artwork Sampler or Interface Elements
database and paste it into a layout in your database.
2. In Layout mode, select the object and choose Format menu >
Button.
3. In the Specify Button dialog box, select a script from the list on
the left side, choose options for the script on the right side, and click
OK.
Tip In Layout mode, you can see the boundaries of objects that have
scripts attached to them by choosing View menu > Show > Buttons.
For more information, see “About working with objects on a layout”
in chapter 6 and “Using buttons with scripts” in chapter 10 of the
FileMaker Pro 5 User’s Guide or see FileMaker Pro Help.
Documenting your database solution
There are several ways that you can provide documentation for your
database solution, including printed manuals, an online Help system,
and an About layout screen that is available from any layout in the
solution.
Create custom About and Help screens that document what your
database solution is, how to use it, and where users can go for more
information. Then use the Developer Tool to attach scripts to menu
commands that open the About and Help screens. These menu
commands are made available in FileMaker Pro along with menu
commands for FileMaker Pro Help and About FileMaker Pro. For
runtime database solutions, these menu commands will replace the
FileMaker Pro Help and About FileMaker Pro menu commands in the
runtime applications.
This tutorial shows how to make a button appear to
dynamically change when it’s clicked