What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! Bug Reports » [Scripting Bug] RichEditControl and SetControlText

[Scripting Bug] RichEditControl and SetControlText
Author: Message:
Eljay
Elite Member
*****

Avatar
:O

Posts: 2949
Reputation: 77
– / Male / –
Joined: May 2004
O.P. [Scripting Bug] RichEditControl and SetControlText
Well quite simply, when trying to set the text of a RichEditControl with SetControlText (with Rich Text mode enabled) the text set is not "rich".

Example:
code:
PlusWnd.SetControlText("MyRichEdit", "[b]Testing[/b]");

The text is displayed as [b]Testing[/b] not as it should be Testing.
The reason I consider this a bug is that when you use SetControlText on a RichStaticControl, it works fine and the text is bold/italic/coloured/whatever.

-----
On a related note, GetControlText when used on a RichStaticControl doesnt return the formatting from the text. Although I realise this is probably just a limitation not a bug.
01-23-2007 07:15 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Scripting Bug] RichEditControl and SetControlText - by Eljay on 01-23-2007 at 07:15 PM
RE: [Scripting Bug] RichEditControl and SetControlText - by vikke on 01-23-2007 at 07:41 PM
RE: [Scripting Bug] RichEditControl and SetControlText - by Eljay on 01-23-2007 at 07:58 PM
RE: [Scripting Bug] RichEditControl and SetControlText - by deAd on 01-23-2007 at 09:34 PM
RE: RE: [Scripting Bug] RichEditControl and SetControlText - by vikke on 01-24-2007 at 03:58 PM
RE: [Scripting Bug] RichEditControl and SetControlText - by Eljay on 01-24-2007 at 07:44 AM
RE: RE: [Scripting Bug] RichEditControl and SetControlText - by deAd on 01-24-2007 at 09:31 PM
RE: [Scripting Bug] RichEditControl and SetControlText - by Eljay on 01-24-2007 at 09:44 PM
RE: RE: [Scripting Bug] RichEditControl and SetControlText - by deAd on 01-24-2007 at 10:00 PM
RE: [Scripting Bug] RichEditControl and SetControlText - by Eljay on 01-24-2007 at 10:11 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On