Jump 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 Alignment

Featured Replies

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

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

  • Author

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.

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.