09-23-2011 08:35 AM
Is it possible to set the color of a substring. For example: If I had the string "Steve is stuck and needs help" and I wanted to change it to become "Steve is stuck and needs help".
At present I am trying to modify the text inside of a String Indicator, but am open to suggestions.
I have been reading the LV help and it seems to suggest that you can do this using the Text.SelStart and Text.SelEnd properties, but I can't get over that last hurdle that actually updates the string.
Regards
Steve
Solved! Go to Solution.
09-23-2011 08:42 AM
After setting the Text.SelStart and Text.SelEnd, use the Text.FontColor to set the color of the selected text. Text -> Font -> Color.
09-23-2011 08:48 AM
The property you want is Tect -> Font -> Color.
09-23-2011 08:58 AM
So close.
Thanks All