mleering Posted October 29, 2010 Posted October 29, 2010 Hello everyone; I'm working on a project where there are a number of text fields on a particular layout. The end-user will click a button on the screen which is supposed to grab all of the text from the various boxes, concatenate them all together into a single field, and have them formatted according to specifications they've laid out for me. Some of the formatting involves varying types of alignment. For instance, some text will be left-aligned, and others will be right-aligned. Is there a way to accomplish this via script or calculation within FileMaker Pro? Thanks in Advance Matt
bcooney Posted October 29, 2010 Posted October 29, 2010 Matt, As far as I know, alignment within a text field is not scriptable. Maybe there's another way to go about this? Can you provide the entire requirement? Barbara
mleering Posted November 2, 2010 Author Posted November 2, 2010 Thank you for your response Barbara, and sorry for my delayed reply. I think I have found a 'workaround' though. Instead of programmatically manipulating the text that I need right-aligned, I've used a template type of approach. I'm taking a text block such as <> <> <> storing it in a global field, manually right-aligning the text <> and performing a scripted "Replace" to substitute the merge tags with the text that I really want to use. The alignment is persistent. I hope this helps somebody else, because I was really racking my brain on this one... even though it's such a simple solution.
Recommended Posts
This topic is 5193 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