September 14, 200421 yr 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
September 14, 200421 yr 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.
September 15, 200421 yr Author 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?
September 15, 200421 yr Author It's ok I created an in between Scratch field and all is working very well now. Thanks big time Mike
September 15, 200421 yr 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. Is server the same as Developer 7? I have Custom Functions for colors that are very cool. Helping someone is fun.
Create an account or sign in to comment