keyResult = GetAsyncKeyState(119)
If keyResult = -32767 Then
If Me.Visible = False Then
Me.Visible = True
Me.SetFocus
Else
Me.Hide
End If
End If
SetFocus 设置的焦点是F8吗?
追答Me.SetFocus ‘是把焦点设置为窗体本身,不是F8
本回答被提问者采纳