Image Replace and RVStyles at Runtimie
Posted: Mon May 14, 2007 11:43 am
Hello,
A couple of questions if you dont mind assisting with please...
1. Quite some time ago I asked a question in regards to Text to Image replacement. The Emotion demo/example helped well. These are limited to 1 character proceeding the : I am looking at using more than one character for the search and replace eg: (emot) instead of :e, is this easily done using the current example code?
2. Also you mentioned in the same post about creating RVStyles dynamically because you cannot change the textstyle property without all the other text that used that style changing its font attributes aswell. So I have it creating a new style for each message coming through which I must say works well to an extent. The RVE kind of flickers bad after I call FormatTail; when the RVE needs to scroll. Usually the flicker will flash the text that was posted just before the RVE started scrolling. Obviously I cannot free the style because it will remove the style properties for text already in the RVE. Anu ideas if dynamically creating these styles would be the cause? If so, what other paths can I take to prevent it.
Thankyou so much for your time.
Cheers.
A couple of questions if you dont mind assisting with please...
1. Quite some time ago I asked a question in regards to Text to Image replacement. The Emotion demo/example helped well. These are limited to 1 character proceeding the : I am looking at using more than one character for the search and replace eg: (emot) instead of :e, is this easily done using the current example code?
2. Also you mentioned in the same post about creating RVStyles dynamically because you cannot change the textstyle property without all the other text that used that style changing its font attributes aswell. So I have it creating a new style for each message coming through which I must say works well to an extent. The RVE kind of flickers bad after I call FormatTail; when the RVE needs to scroll. Usually the flicker will flash the text that was posted just before the RVE started scrolling. Obviously I cannot free the style because it will remove the style properties for text already in the RVE. Anu ideas if dynamically creating these styles would be the cause? If so, what other paths can I take to prevent it.
Thankyou so much for your time.
Cheers.