28-12-2006, 09:44 PM
Ok im making it so when you hit F5 it shows or hides the chat menu. I got it semi working. I went to check input and at the end added...
The problem with this if you cant tell is when you hide it ... it sees visible is false so then it shows it again and so on...
how else should I do this... I tried making a whole new thing... like if F5 then .... but that didnt work...
Code:
If KeyCode = vbKeyF5 Then
If frmMirage.picChat.Visible = True Then
frmMirage.picChat.Visible = False
ElseIf frmMirage.picChat.Visible = False Then
frmMirage.picChat.Visible = True
End If
End If
The problem with this if you cant tell is when you hide it ... it sees visible is false so then it shows it again and so on...
how else should I do this... I tried making a whole new thing... like if F5 then .... but that didnt work...