Defining a button
To define a button:
1.
If you're defining a button that performs a script (as opposed to a single FileMaker Pro command), create the script.
See Creating and editing scripts for more information.
2.
In Layout mode, choose the layout where you want to locate the button from the Layout pop-up menu.
3.
 
Click the Button tool Button tool in the status toolbar. Choose a starting point on your layout and drag the crosshair pointer diagonally until the button is the size you want, then release the mouse button. You can also choose Insert menu > Button.
Attach a button definition to existing object(s), like text, or a field
Select the object(s) and choose Format menu > Button Setup.
If you select multiple objects, FileMaker Pro groups them when you define them as a button. See Grouping and ungrouping objects for more information.
4.
In the Button Setup dialog box, select a command from the list and, if necessary, set options for the command. If you want the button to perform an entire script, select Perform Script and choose a script. (You can only select one script per button. Multiple steps are possible only with scripts.)
5.
6.
7.
Tips
  •
To see buttons on your layout, choose View menu > Show > Buttons. With this option on, buttons have gray outlines.
  •
In the Button Setup dialog box, you can choose a button style, and choose whether the pointer will change to a hand cursor when it is over the button.
  •
Choose Web Publishing from the Show Compatibility list to determine which commands are unavailable when you publish the database on the web.
Related topics 
Script steps reference (category list)
Script steps reference (alphabetical list)