What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Can't set ChatWnd.EditText inside OnEvent_ChatWndSendMessage()

Can't set ChatWnd.EditText inside OnEvent_ChatWndSendMessage()
Author: Message:
segosa
Community's Choice
*****


Posts: 1407
Reputation: 92
Joined: Feb 2003
O.P. Can't set ChatWnd.EditText inside OnEvent_ChatWndSendMessage()
Inside OnEvent_ChatWndSendMessage() I want to parse a command (starting with /), set ChatWnd.EditText to something and then return nothing so that no text is sent in the conversation window.

If I return ""; in the event right after setting ChatWnd.EditText then it will clear what I set.

If I don't return anything then I get the message that the command was not recognised, but the value set by the EditText property was not cleared.

How do I avoid this issue?

This post was edited on 07-28-2006 at 09:35 PM by segosa.
The previous sentence is false. The following sentence is true.
07-28-2006 09:34 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Can't set ChatWnd.EditText inside OnEvent_ChatWndSendMessage() - by segosa on 07-28-2006 at 09:34 PM
RE: Can't set ChatWnd.EditText inside OnEvent_ChatWndSendMessage() - by Ezra on 07-28-2006 at 10:42 PM
RE: Can't set ChatWnd.EditText inside OnEvent_ChatWndSendMessage() - by deAd on 07-28-2006 at 10:43 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