Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Text Formatting Script

Featured Replies

  • Newbies

I have a text field with paragraphs of text, and I wish to create a scripted button that automatically formats (the active selection) with a particualr color size and style. I would like to leave the remainder of the text formatted as it were originally entered but I would like to be able to make various different selections throughout the field and click on my script button to change that selection's formatting to a preset format (bold highlighted in yellow and larger). Thank you,

Chris.

Welcome Chris,

I believe this is what you are after...

http://www.nightwing.com.au/FileMaker/demos9/demo907.html

  • 2 weeks later...
  • Author
  • Newbies

Hi Stephen, thank you for the suggestion, however, I am still using FMP v8 and this is for FMP 9. ;)

Anyone have any other ideas? It's been several years since I have used Filemaker and I have simply LOST my ability to create buttons & scripts. I used to do this all the time and I'm sure there is an easy solution.

You might want to check out a demo file created by MoonShadow when vs. 7 first came out, called Style Assistant . IIRC, the demo file was produced before the field formatting was corrected, ie, prior to 7.0v3, text fields would hang onto the text format.

The demo may seem a bit complex (because it carries the concept through to allowing Management the ability to control allowable text attributes on a field-by-field level) but I think the concept is really good and you can use the scripts attached to the Text Attribute icon to answer your specific questions on this post. Of course, now with variables and conditional formatting it is much easier but prior to 8.5, this technique was handy.

Hey ... what ever happened to MoonShadow anyway? I thought he was quite clever.

LaRetta

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.