Dynamic color change

I am looking to change the color of a string which is created from lotusscript in a field that i have set to a restricted size. I am trying to change the color from the max number of characters which I have set to the last character in the field.before they try saving the document

any help would be appreciated.

Subject: dynamic color change

To manipulate a field which needs to have 2 seperate and different colours you would need to use a Rich Text field and programtically process the changing of the field properties when the document is Saved or on an event like Exiting

Subject: RE: dynamic color change

Or use two fields and hide one at a time.

Subject: RE: dynamic color change

My understanding of the question was that the field can have 10 chararcters and the text should be black for example.

Then if the field is 15 characters long then the first 10 characters should be black and the next 5 characters should be red for example.

If this is the case this cannot be done in a single text field as the text field colour is decided upon at design time.

A possible solution to this, is to have 2 fields on with the form to hold the different coloured parts of the text.

Or if the field is not entered, I would have 1 field containing the entire string and then have 2 computed text enteries showing the different parts of the string in different colours.

Subject: RE: dynamic color change

hey guys,

thanks for the help. its spawned an idea not quite finished. I will post the script once its finsihed.

Thanks Again,

Adam

Subject: RE: dynamic color change

Hmm. Didn’t get that meaning from his post. (Obviously.) Your suggestion of three fields, one hidden in read mode, the other two in edit mode, is a winner if that is his need.