• Who: Beginner-Intermediate
  • What: How to Dynamically Hide Buttons in the FileMaker Button Bar
  • With: FileMaker 15 +
  • Why: Some layouts just need a different set of buttons

FM Inspector Data tabYou can use the “Hide Object When” behavior on the Data tab of the Inspector to hide buttons on a button bar!

Simply create your criteria for hiding that button using the “Specify Calculation” window by clicking the little pencil next to the “Hide Object When” behavior field (see image to the left).

One quick and dirty way to do this is to simply put for your calc:
Get (LayoutName)  ≠ “Your layout”

The calc above would simply hide that particular button in the button bar on any layout that wasn’t “Your layout”!

You can use this calc field to dynamically change the visibility of your buttons in any way you can imagine, and if you’re using your button in a theme, it will update all the layouts that use your theme!

Awesome! 🙂