?
Solved

Formatting Field Via Script FM

Posted on 2013-12-10
1
Medium Priority
?
343 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 2000 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Conversion Steps for merging and consolidating separate Filemaker files The following is a step-by-step guide for the process of consolidating two or more FileMaker files (version 7 and later) into a single file with multiple tables. Sometimes th…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month11 days, 7 hours left to enroll

752 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