Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

colors_for_containers ( color_name ; opacity )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.7  (20 votes)
  Discuss this Custom Function

Thomas Siebert, seabird
http://www.t-seabird.de

set the color of a container field by color name and opacity from 1.1 to 1.0

Sample Input:
colors_for_containers ( "blue" ; "0.5" )
Sample Output:
returns 1pt color area to the container field with the opacity of 0.5


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

Choose the color of a container field by changing the name of the color.
you will get a 1 pt area of color.

you also shall set the opacity = 0.1 to 1.0

choose between folowing colors:
red green blue cyan magenta yellow white black grey purple orange brown

or the german color names:
rot grün gruen blau gelb weis schwarz grau mittelgrau lila braun

In the layout mode you have to set following options for the containerfield within the inspector:
"Reduce or enlarge image to fit"
"Optimize for Images (JPEG, PNG, BMP, etc)"

Make the containerfield transparent ( no fill color ) if you want to use opacity.

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Discuss:

The color grey is not grey ist light blue.

Georg Löffler, Vienna
November 15, 2015 1:12pm

color grey ok =

grey = "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNI+Q8AAcoBZ Iid22EAAAAASUVORK5CYII="

Georg Löffler, Vienna
November 16, 2015 3:49am

Thanks, I did change the string.
also I use shorter strings for the other colors now.

Thomas Siebert, Germany, Hamburg
November 17, 2015 2:36am

The minimum version of FileMaker really needs to be mentioned for these functions. I struggled to get this to work under 12 until I finally found through an online search that Base64Decode was introduced in version 13. I thought at first that it was another custom function but, of course, I couldn't find it.

Ann, New York
May 26, 2016 6:11pm

In FileMaker versions less than 12 you shall use the free BaseElements plugin from goya.com to be able to do base64 encoding/decoding

Thomas Siebert, Hamburg
May 26, 2016 10:10pm

Make a comment about this Custom Function (please try to keep it brief & to the point). Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 5 + 4 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. NumberToHexadecimal(NumberValue)
  (Fri, Dec 08, 8:54am)
2. Get_BaseTable
  (Thu, Dec 07, 4:27pm)
3. JSONCreateVarsFromKeys ( json ; namespace )
  (Wed, Dec 06, 8:21pm)
4. GetTableNzme ( field )
  (Tue, Dec 05, 9:16pm)
5. TimeFormatAsText ( theTime )
  (Mon, Nov 13, 1:59pm)
6. ParseWebValueList( text )
  (Thu, Nov 02, 9:52am)
7. SVG_HTML_to_Text ( _svg_text ; _orig_text ;
  (Wed, Oct 25, 4:17am)
8. decFromHex ( hexValue )
  (Mon, Oct 16, 12:34pm)

RSS Feed of Custom Functions