21-09-2008, 02:18 AM
I have it ontop of my GameScreen, so I'll leave for the PUBLIC to modify. =-p
EDIT: Updated:
If you entered something, ChatBox stays open, if you entered nothing, it closes.
EDIT: Updated:
Code:
If KeyCode = vbKeyReturn Then
If txtText.Visible = False Then
txtText.Visible = True
txtChat.Visible = True
txtMyChat.Visible = True
SetFocusOnChat
Else
If txtMyChat.Text vbNullString Then
txtText.Visible = True
txtChat.Visible = True
txtMyChat.Visible = True
Exit Sub
End If
txtText.Visible = False
txtChat.Visible = False
txtMyChat.Visible = False
End If
End If
If you entered something, ChatBox stays open, if you entered nothing, it closes.