Is there a simple way to capture when the user clicks the minimize button for a VB form. I need to add some code to do something when the user clicks the Minimize button.
Thanks,
Jeff
Printable View
Is there a simple way to capture when the user clicks the minimize button for a VB form. I need to add some code to do something when the user clicks the Minimize button.
Thanks,
Jeff
'This will intercept the minimizing event of the form.
private sub Form_resize()
If me.windowstate= vbminimized then
'....
end if
end sub