29-12-2006, 02:33 AM
Code:
If KeyCode = vbKeyF5 And frmMirage.picChat.Visible = True Then
frmMirage.picChat.Visible = False
ElseIf KeyCode = vbKeyF5 And frmMirage.picChat.Visible = False Then
frmMirage.picChat.Visible = True
End IfYou forgot to check if F5 was being pressed when visibility = false, therefore, whenever it checked input, it would check if visibilty was false and set it to true
