Coba pake ini :
Private sub Mdiform_queryunload(cancel as integer,unloadmode as integer)
Pesan=msgbox("apakah ingin keluar dari aplikasi?,vbquestion+vbyesno)
If pesan=vbyes then
End
Else
Cancel=1
Mousepointer=vbarrow
End if
End sub
Indahnya berbagi...
Sent from BlackBerry® on 3
-----Original Message-----
From: "jontampubolon" <[email protected]>
Sender: [email protected]
Date: Sat, 31 Jul 2010 07:05:41
To: <[email protected]>
Reply-To: [email protected]
Subject: [indoprog-vb] memberi pesan saat tombol Close di-click
Rekan2 sekalian, bagaimana koding VB 6 untuk memunculkan pesan (Msgbox) saat
tombol Close (yang ada dipojok kanan atas sebuah Form)di klik? Mohon
pencerahannya.
[Non-text portions of this message have been removed]
------------------------------------
Untuk berhenti berlangganan kirim email kosong ke :
[email protected].
Untuk forum diskusi lainnya kunjungi :
http://www.geocities.com/indoprog
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/indoprog-vb/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/indoprog-vb/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/