-
close a form
Hi!
Just a little question :
I want that, when a user
- click on the little [x], in the top corner of the form at right
- right click on the bar in the top corner at left, on " Close"
- or press Alt + F4
The form will not be close but only hide. Is it possible?
Thanks!!
hooger
-
Re: close a form
private sub Form query_unload(cancel as integer, unloadmode as integer)
'check unload mode...
cancel = true
me.hide
end sub
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater
-
Re: close a form
http://codeguru.com/cgi-bin/bbs/wt/s...collapsed&sb=5
Special thanks to Lothar "the Great" Haensler, Tom Archer, Chris Eastwood, TCartwright, Bruno Paris, Dr_Micahel
and all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
The Rater