Mirage Source
chat problem - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: chat problem (/showthread.php?tid=1904)



chat problem - Ligaman - 10-07-2008

Hi.

I had a problem with my chat after make a text box instead of onscreen.After that i couldnt type anything.Anyway i tried to fix it and now every command works but when i type something to say in map i cant press enter to tell it.

Could you tell me where to look to fix this?

Thanks


Re: chat problem - Leighland - 28-07-2008

Code:
Private Sub CHATBOXNAME_KeyPress(KeyAscii As Integer)
    Call HandleKeypresses(KeyAscii)
    If MyText = "" Then CHATBOXNAME.Text = ""
End Sub

That should work, change CHATBOXNAME to the name of your chat box. Any problems, ask.