Replace Text with Image
Posted: Sun Jul 23, 2006 6:16 am
Hello,
QUESTION 1
========
The components are still fairly new to me but progressing through it slowly. My question, if you dont mind answering, is about replacing text that is added to a RichViewEdit with an image (smileys).
For Example: if the text is entered on a new line, I want to new line to be examined and replace ":)" with a smiley image.
Maybe there is an easier way to go about it than i have mentioned above, i dont know. All thoughts welcome.
QUESTION 2
========
If (during runtime) I change a TextSyle Item property it will change all the text in the RichViewEdit relating to that TextStyle.
For Example: I have a line of text with Arial and Bold, then i add another line after changing the TextStyle that i want to be Courier and Italics, it will change everything to the new TextStyle. How can i not make everything change but only the text i want. (this is done just before i add the text)
Thankyou,
LR
QUESTION 1
========
The components are still fairly new to me but progressing through it slowly. My question, if you dont mind answering, is about replacing text that is added to a RichViewEdit with an image (smileys).
For Example: if the text is entered on a new line, I want to new line to be examined and replace ":)" with a smiley image.
Maybe there is an easier way to go about it than i have mentioned above, i dont know. All thoughts welcome.
QUESTION 2
========
If (during runtime) I change a TextSyle Item property it will change all the text in the RichViewEdit relating to that TextStyle.
For Example: I have a line of text with Arial and Bold, then i add another line after changing the TextStyle that i want to be Courier and Italics, it will change everything to the new TextStyle. How can i not make everything change but only the text i want. (this is done just before i add the text)
Thankyou,
LR