21-09-2008, 01:51 AM
Difficulty: 0/5 - Very easy to add/use.
Functionality: Made for MS4, good for if TextBox is on the GameScreen(kind of).
Go into frmMirage, & look for "Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)", then add this in:
It's amde so when you press Enter, it opens. If you press enter with a message, ChatBox stays open, if you press Enter without a message it closes.
ENJOY!
Functionality: Made for MS4, good for if TextBox is on the GameScreen(kind of).
Go into frmMirage, & look for "Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)", then add this in:
Code:
If KeyCode = vbKeyReturn Then
If txtChat.Visible = False Then
txtChat.Visible = True
txtMyChat.Visible = True
SetFocusOnChat
Else
If txtMyChat.Text vbNullString Then
txtChat.Visible = True
txtMyChat.Visible = True
Exit Sub
End If
txtChat.Visible = False
txtMyChat.Visible = False
End If
End If
It's amde so when you press Enter, it opens. If you press enter with a message, ChatBox stays open, if you press Enter without a message it closes.
ENJOY!