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.

Featured Replies

I'm using TextColor to Hilite some words in lines.

The problem is it shows them with a space-like distance from their position.

In the first example i'm replace "ebook" and in the second "is".

as you can see it doesn't look good.

I tried to change fonts and I have the latest update (FMD 7.03).

Any suggestions to what may cause this problem?

untitled.JPG

Perhaps you can show the whole calc you used.

  • Author

Substitute ( text ; searchString ; TextColor ( text1 ; RGB ( red ; green ; blue ) ) )

Edited by Guest

That does not appear to be a valid format.

You might wish to use a global field in which Users can insert the text they wish to highlight, maybe called gText. Also, you used comma and vs. 7 requires semi-colon. Try this:

Substitute ( line ; gText ; TextColor ( gText ; RGB ( 255; 0; 0 ) ) )

UPDATE: XTRIM, you changed your calc. Regardless, the above works.

LaRetta :wink2:

Edited by Guest
Added update

  • Author

This is exactly what i originaly was doing, but same results...

Take a look

test.zip

  • Author

Your example is working just fine...so maybe my file is corrupt or maybe it's a load issue (500,000 records....)?

Corruption maybe but I doubt it. Are you sure you don't have a space as in " is" ??

Have you tried it using a global field? Can you attach your file? Your example line looks wonky to me. Are those separate sentences concatenated? Maybe you have a space in there somewhere because it surely works.

Can you post a copy of the file so that we may check it to see if we can replicate the problem as well?

  • Author

Sample file attached...

Your sample looks fine on my computer.

Note: please use .zip when attaching files - this forum does not handle .rar well.

Just to note this looks fine on my windows based machine as well.

XTrim I have replicated your problem in your file.

The problem seem to be with the data in the main text field itself (line). The calculation is fine. If I create a new record and TYPW the exact same data in the new field it formats it correctly.

Where did this data come from? Did you copy and paste it? Was it imported?

However it may have been populated; know that it is is NOT the calculation. It is the data.

screenshot.gif

Edited by Guest
Added screenshot

  • Author

The data is imported from a text file with the troi file plugin...

I leave the data unformatted because it is required.

But still it is strange because in the line itself there are no problems, only when you color it...and how come on some computers it is working fine? strange.

I'll look into it again...

tnx everyone

Create an account or sign in to comment

Important Information

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

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.