To | Do this |
Create a new button | In the status toolbar, do the following. •Windows: Click the arrow next to the Button tool or the Popover Button tool , and choose Button from the menu, then drag the crosshair to draw the button. •macOS: Click and hold the Button tool or the Popover Button tool , and choose Button from the menu, then drag the crosshair to draw the button. Tip You can also choose Insert menu > Button or Popover Button. |
Attach a button definition to an existing object or objects, like text or a field | Select the object(s) and choose Format menu > Button Setup. If you select multiple objects, select only objects that have no previous button definitions. FileMaker Pro groups the objects when you define them as a button. See Using tools to precisely position objects. |
To create a label with | Do this |
Text only | Click , then type the label in the text box. |
An icon only | Click , then click an icon from the choices that appear. Scroll or press Up Arrow or Down Arrow to see more choices. To change the size of the icon, drag the slider (the icon's size changes on the layout), or enter a size (in points). To use a custom icon, click +. Choose a filename (in PNG or SVG format), then click Open (Windows) or Insert (macOS). For more information about SVG support, see FileMaker Pro SVG Grammar for Button Icons. To remove a custom icon from the list of choices in this file, select the icon, then click —. The icon is removed from the list, but buttons or popover buttons that use the removed icon don't change. |
Text and an icon | Click , , , or . Type the label in the text box, and click an icon from the choices that appear. Use the information above to complete the label. |
To perform | Choose |
No action | Do Nothing (the default). You can also choose this option to disable a button. |
One command (such as go to a specific layout) | Single Step. In the Button Action dialog box, select and define a script step, then click OK. To save the action as a script, click Convert to Script. Enter a name for the script, then click Save (Windows) or OK (macOS). FileMaker Pro saves the script in the Script Workspace. See Creating and editing scripts. Note Select Run script with full access privileges to allow the script to do things that normally may not be allowed by the user’s assigned privileges. |
A defined script | Perform Script. Choose a script in the Specify Script dialog box, then click OK. (You can choose only one script for each button.) See Specify Script dialog box. To define a script, see Creating and editing scripts. To specify a different script, click . |