Sep 30, 2001 #1 scrano Technical User Jan 24, 2001 51 AU Does anyone know if you can trap a close event for a form and have it hidden instead of closing altogether? Thanx in advance
Does anyone know if you can trap a close event for a form and have it hidden instead of closing altogether? Thanx in advance
Sep 30, 2001 2 #2 jitter Technical User Sep 2, 2001 351 US Have you tried something like this using the form unload event: Private Sub Form_Unload(Cancel As Integer) Cancel = True Me.Hide End Sub I don't know if this is exactly what you are looking for but basically it is cancelling the form from unloading completing and just hiding it instead. Hope this helps.... Upvote 0 Downvote
Have you tried something like this using the form unload event: Private Sub Form_Unload(Cancel As Integer) Cancel = True Me.Hide End Sub I don't know if this is exactly what you are looking for but basically it is cancelling the form from unloading completing and just hiding it instead. Hope this helps....