Newbies scriptme Posted December 23, 2008 Newbies Posted December 23, 2008 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.
Ocean West Posted December 23, 2008 Posted December 23, 2008 Welcome Chris, I believe this is what you are after... http://www.nightwing.com.au/FileMaker/demos9/demo907.html
Newbies scriptme Posted January 4, 2009 Author Newbies Posted January 4, 2009 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.
LaRetta Posted January 4, 2009 Posted January 4, 2009 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
Recommended Posts
This topic is 5803 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now