Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7374 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I have a script that adds the user name, date etc. into a text field called "CS Notes" the user then carrys on typing what they have to say about the customer. I would like to set the script to use a certain colour for the text entered by the script and then by the user. Is this possible???

I have read about a calculation changing the font style but not through a script like this.

Thanks guys... my 1st post

oh and thanks to any girls out there too.

... in advance

Mike smile.gif

Posted

Set Field [text1; TextColor( "blah"; RGB( 0; 255; 255 ) ) & TextColor( " "; RGB( 255; 0; 0 ) )] will set text1 with a blue blah, followed by a 'red' space. However, since spaces are not colored, it will not look any different. Text added by users after the space will be formatted in red, as long as they click after the space before typing. You may want to make it easier and have the user first enter the details in a separate field, then concatenate the data using different TextColors.

Posted

Set Field [text1; TextColor( "blah"; RGB( 0; 255; 255 ) ) & TextColor( " "; RGB( 255; 0; 0 ) )] will set text1 with a blue blah, followed by a 'red' space. However, since spaces are not colored, it will not look any different. Text added by users after the space will be formatted in red, as long as they click after the space before typing. You may want to make it easier and have the user first enter the details in a separate field, then concatenate the data using different TextColors.

It works EXCEPT The main problem is it wipes any previous text in the field.

Any ideas?

Posted

Don't know if this is appropriate Mike but when I saw your post I almost sh _ _! It's exactly what I needed to do and everyone helped Me. Just yesterday. I hope I do this right. The link is: http://www.fmforums.com/threads/showflat...true#Post123387

Just to give you more ideas, of course. I'm going to try this Queue one also, thank you Queue. Did you know you can use auto entry on that field so you maybe don't need a script? On this link I gave you, the last attachment shows what I ended up with but now boss wants to change it again. crazy.gif

Is server the same as Developer 7? I have Custom Functions for colors that are very cool. Helping someone is fun. laugh.gif

This topic is 7374 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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