Formatting Elements as Buttons
FileMakers Button tool allows you to create a simple rectangular button and assign a command to it. But virtually any object on a layout can be formatted as a button (including fields). Creating a recognizable graphic for a custom button can help you quickly identify what the button does, and can make for a more professional, customized presentation (Figure 3.14).
Figure 3.14. This button makes it clear that youll leave the FileMaker program if you click it.

To use a graphic as a button
1.
Go to the layout where youd like to place a button. Go to Layout mode (Control+L/ Command+L). Follow the instructions in "To import graphics from a file" on page 33 for copying or inserting a graphic in Layout mode.2 .
Select the graphic youve copied or inserted into your layout, and choose Format > Button (Figure 3.15).
Figure 3.15. To make any graphic into a button, choose Format > Button.

When the Specify Button dialog box appears, choose the command in the list that you wish to assign to the button, then click OK.
Figure 3.16. The Specify Button dialog box has a scrolling list of button actions, and can offer various options, depending on the action chosen.


To make a field into a button
1 .
Go to the layout to which youd like to add a field button, and enter Layout mode (Control+L/Command+L).2.
Click the field you want to make into a button.3 .
Choose Format > Button.4.
When the Specify Button dialog box appears, click Go to Layout (Figure 3.17) in the Navigation section of the scrolling list.
Figure 3.17. Selecting Go to Layout from the command list brings up a drop-down list of all the layouts in your current database.

From the drop-down list in the Options section, choose the layout to which you want to switch, then click OK.When you click the field button in Browse mode, the layout will switch and the data for the record you clicked will be displayed (Figure 3.18).
Figure 3.18. To switch to an individual record from a columnar layout, make one of the fields a button, then click on the field in Browse mode to go to the individual record.
[View full size image]

