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.
|