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 0.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.

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 8 + 7 =
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. ChiSquare3x2 ( param ; param ; param ; param )
  (Tue, Aug 14, 6:33am)
2. ReverseByteOrder ( bytes )
  (Thu, Aug 09, 12:06pm)
3. BytesToDec ( hex )
  (Thu, Aug 09, 11:47am)
4. GetAsHexBytes ( number ; bytes )
  (Thu, Aug 09, 10:50am)
5. ValCorrelationCoeff ( XValueList; YValueList; Xmean; Ymean; XStdDev; YStdDev )
  (Wed, Aug 08, 4:17pm)
6. ValLeastSquaresSlope ( XValueList; YValueList; Xmean; Ymean )
  (Wed, Aug 08, 4:10pm)
7. ValueMath ( List1 ; List2 ; operation )
  (Wed, Aug 08, 4:05pm)
8. GetExtension ( File )
  (Tue, Aug 07, 10:22am)

RSS Feed of Custom Functions