Private Sub Form_QueryUnload(Cancel as Integer)
If Msgbox("Apakah anda yakin ingin keluar dari program?",
vbQuestion+VbYesNoCancel) <> vbYes Then
Cancel = 1
End If
End Sub
--- On Sat, 7/31/10, jontampubolon <[email protected]> wrote:
From: jontampubolon <[email protected]>
Subject: [indoprog-vb] memberi pesan saat tombol Close di-click
To: [email protected]
Date: Saturday, July 31, 2010, 2:05 PM
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]