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.8  (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 3 + 6 =
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. sql.getTable ( fullyQualifiedFieldObject )
  (Thu, Feb 22, 8:36am)
2. sql.getField ( fullyQualifiedFieldObject )
  (Thu, Feb 22, 8:34am)
3. FilterOut ( ListA ; ListB )
  (Wed, Feb 21, 6:11pm)
4. Char0 ( )
  (Sun, Feb 18, 2:35am)
5. CreateVCardFile ( FirstName ; LastName ; CompanyName ; Phone ; Email ; WEB ; hAddress1 ; hAddress2 ; hZip ; hCity ; hCountry ; wAddress1 ; wAddress2 ; wZip ; wCity%2
  (Sun, Feb 18, 1:50am)
6. AccurateAge (start; end )
  (Tue, Feb 13, 5:41am)
7. fnParser_UnCertain(text;firstSymbol;secondSymbol;SN)
  (Mon, Feb 12, 11:10pm)
8. sql.whereInList.asList ( fqFieldToReturn ; fqFieldToMatch ; listOfValuesToMatch )
  (Wed, Feb 07, 2:03pm)

RSS Feed of Custom Functions