• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 148
  • Last Modified:

Not close but not visible

Hi guys,

is there a way to make the form invisible when the user presses the close button or Alt + F4 instead of closing it?

Thanks in advance.
0
Yury Merezhkov
Asked:
Yury Merezhkov
  • 2
1 Solution
 
sirbountyCommented:
me.Hide
0
 
sirbountyCommented:
Sorry, you'll need to place that in your Query_Unload:

Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)
me.Hide
Cancel=True
End Sub
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now