Jump to content
  • entries
    128
  • comments
    16
  • views
    43,965

FileMaker Pro 13 Tip-n-Trick – V2 FileMaker Pro Progress Bar


eXcelisys

2,013 views

<h4 style="color: #000000;">By Andy Persons</h4>

<p>&nbsp;</p>

<h2 style="color: #000000;">The Next Generation of the FileMaker Pro Progress Bar Using base64</h2>

<p>&nbsp;</p>

<p style="color: #000000;">After we posted the FileMaker Pro 13 Progress Bar demo file using a base64 image last December, one frequent request we received was for a way to have the bar change color based on its percentage. For example, changing from green to yellow to red as the percentage increased.</p>

<p style="color: #000000;">This FileMaker Pro 13 Progress Bar demo file adds that feature. It replaces the <i>foreground_color</i> parameter with a <i>steps </i>parameter that takes a return-delimited list of values. Each line should have a number between 0 and 100 indicating the percentage threshold, followed by a space and then the corresponding color in base64. The values should be sorted by threshold, ascending. The FileMaker Pro Progress Bar demo file includes an interface to help you build the <i>steps </i>parameter.</p>

<p style="color: #000000;">The ProgressBar() custom function loops through the lines in <i>steps</i>, comparing the <i>progress</i> value with the threshold value and stopping at the first one that is equal to or higher than <i>progress</i>. It then parses out the corresponding color value and finishes calculating the graphic using the same technique as the original FileMaker Pro Progress Bar file.</p>

<p style="color: #000000;">This can be used for a variety of purposes in addition to progress bars, such as status indicators, bar graphs and even as simple background colors that can be set programmatically (just set <i>progress</i> to zero and the background color to your choice. The final parameter would be left blank.).</p>

<p style="color: #000000;">Enjoy!</p>

<div id="attachment_1295" style="width: 310px" class="wp-caption aligncenter"><a href="http://www.excelisys.com/blog/wp-content/uploads/2014/08/Progress-Bar-Advanced.fmp12v2.zip"><img class="wp-image-1295 size-medium" src="http://www.excelisys.com/blog/wp-content/uploads/2014/08/FileMaker-Pro-13-Progress-Bar-Advanced-300x213.png" alt="Progress Bar Advanced Download" width="300" height="213" /></a><p class="wp-caption-text">Download Progress Bar Advanced</p></div>

<p style="text-align: left;"><em><strong>About <a title="Link: http://www.excelisys.com/our-team-custom-database-consultants.php" href="http://www.excelisys.com/our-team-custom-database-consultants.php">Andy Persons</a>:</strong> Andy is a Senior Lead FileMaker Pro Developer with <a href="http://www.excelisys.com/">Excelisys</a>: Andy has been an industry leading FileMaker Pro developer creating FileMaker Pro solutions for over 17 years. In addition to being one of the lead developers of three top-rated and most-downloaded FileMaker Pro solutions of all-time; the FileMaker Business Tracker and the Excelisys <a href="http://www.excelisys.com/ex-files-filemaker-solutions.php">eX-BizTracker &amp; eX-BizTracker Pro</a> jump-start solutions, he has shared his incredible and advanced talents by authoring numerous <a href="http://www.excelisys.com/filemaker-tips-tricks-demos-downloads.php">Tips-n-Tricks files</a> and white papers, including Hierarchical Portals, Recursive Calcs, Audit Logs and Drag-and-Drop using <a title="Link: http://www.filemaker.com/products/filemaker-pro/" href="http://www.filemaker.com/products/filemaker-pro/">FileMaker Pro</a>.</em> <em>*This article is provided for free and as-is, use and play at your own risk – but have fun! Excelisys does not not provide free support or assistance with any of the above. If you would like help or assistance, please consider retaining Excelisys’ FileMaker Pro consulting &amp; development services.</em> <em> </em></p>

<p style="text-align: left;"><em><b>About Excelisys, Inc.: </b>Founded in 2001, Excelisys (www.excelisys.com) is a dedicated organization specializing in the designing, developing, customizing, supporting, consulting, migrating, upgrading, tweaking, fixing, and integrating of FileMaker Pro solutions, FileMaker Go solutions, MySQL, PostgreSQL, QuickBooks-FileMaker Pro Integration, Excel and MS Access FileMaker Pro conversions/migrations, iPhone and iPad business solutions, and other various database technologies and frameworks that automate your organization’s data solution needs for use on the web, mobile, and desktop platforms. Contact Excelisys today for a free estimate and consultation about your business software automation needs @ 866-592-9235.</em></p>

<p style="text-align: left;"><em><a title="Link: http://www.filemaker.com" href="http://www.filemaker.com/">* FileMaker and FileMaker Pro are registered trademarks and owned by FileMaker, Inc. in the US and other countries.</a></em></p>

<a href="http://www.excelisys.com/blog/2014/08/14/filemaker-pro-13-tip-n-trick-v2-filemaker-pro-progress-bar/" class='bbc_url' rel='nofollow external'>Source</a>

0 Comments


Recommended Comments

There are no comments to display.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.