vb 窗体失去焦点

当form1失去焦点时unload me 怎么写?
2025-03-12 18:32:44
推荐回答(1个)
回答1:

在form1的这个事件中写
Private Sub Form_LostFocus()
Unload Me
End Sub