FileMaker 14 introduced Button Bars, which are basically layout objects that consist of segments that you can define. In my experience Button Bars get used mostly for navigation menus. I’m sure we will come up with all kinds of nifty ideas for areas they can be useful in. This article’s purpose is to show you how you can use the Button Bars to show progress.
There are lots of articles out there that can give you an idea how Button Bars are used for navigation menus. I also want to mention the application example that shows a snowflake game using Button Bars from Will at Beezwax.
Button Bar as a Progress Bar
The wise ones always tell you to use FileMaker natively as much as you can. So I try my best to follow that notion. Primarily so you will have one piece of software to manage and you can run into less trouble. This method works well on iOS, and works in portals, as well.
The example below shows you the stage of the projects marked with a progress bar. It gives you a nice visual indication of where each project is in its lifecycle.
Each of the segments have conditional formatting, which makes them “light up” when the condition has been met. And once you have visible progress, I want to see where the end is, so that’s marked with a separate color. So I have two conditions assigned to them with two colors.
The first button has these conditional formatting conditions:
The rest of them are similar, only the math changes a bit to account for the progress.
The button is named with the following calculation:
Case ( Project::Progress = 20 ; Project::Stage & " " & Char ( "10095" ) ; "" )
I also wanted to add an arrow, so I’ve used the Char() function to show an arrow character of my choice with an ASCII code.
Download the demo so you can look under hood to see how this works in real life.
Watch our videos for more FileMaker tips and techniques: