Solved

Formatting Field Via Script FM

Posted on 2013-12-10
1
336 Views
Last Modified: 2013-12-23
I wanted to see if it is possible the following in Filemaker:
1. Copy/Paste formatting from one field to another.
2. Add a formatting toolbar to the top of a particular field.
0
Comment
Question by:PachecoPrimo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 25

Accepted Solution

by:
Will Loving earned 500 total points
ID: 39710529
In Layout Mode, you can copy the applied formatting for a field to another field, including Fill and Border by click on the the field that already formatted then clicking the "Format Painter" tool - a paintbrush icon at the end of the Layout tools - and then clicking on the field to be formatted. If you double-click on the Painter tool it will stay in the mode so you can click multiple objects.

In answer to you second question, there is no way to add a standard formatting toolbar above an individual field. However, you could do the following:

- Create a layout with just that field on it and use scripting to switch to that layout and turn on the Formatting toolbar in the Status area at the top of the screen. When done you can also turn off the Formatting toolbar via a script step.

- Add scripted buttons above the field that apply specific types of formatting using the Set Field() script step and the various TextFormatting functions. For example, if you want to apply Bold to the value in a field called "Price" in the PRoducts table it would look like this:

TextStyle( Products::Price ; bold )

To also make it Red, it might look like this:

TextColor( TextStyle( Products::Price ; bold ) ; RGB( 155 ; 00 ; 00 )

For details on these and other text formatting functions, see:

http://www.filemaker.com/11help/html/func_ref3.33.90.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question