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  (21 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 2 + 5 =
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. interpolation (y1; y2; y3; x1; x2; x3; x1y1; x2y1; x1y2; x2y2; rnd)
  (Sat, May 19, 3:55am)
2. @JSONFormatElements ( json )
  (Tue, May 15, 3:31am)
3. WindowNamesAll ( dbNames ; excludeCurrentWindow )
  (Sat, May 12, 11:34am)
4. RandomChoiceFromList ( values ; required )
  (Wed, May 02, 6:35am)
5. @JSONFormatElements ( json )
  (Fri, Apr 27, 7:31am)
6. MBS-OCR ( language ; Image )
  (Mon, Apr 23, 1:48pm)
7. MBS_Image_Rotate ( Picture ; rotation )
  (Mon, Apr 23, 1:27pm)
8. UnQuote ( string )
  (Tue, Apr 10, 12:34pm)

RSS Feed of Custom Functions