|
-
September 18th, 2001, 09:40 AM
#1
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
-
September 18th, 2001, 09:46 AM
#2
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
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
-
September 18th, 2001, 09:50 AM
#3
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
...at present time, using mainly Net 4.0, Vs 2010
Special thanks to Lothar "the Great" Haensler, Chris Eastwood , dr_Michael, ClearCode, Iouri and
all the other wonderful people who made and make Codeguru a great place.
Come back soon, you Gurus.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|