It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum Script-archive

disable the x button in a form

Share your completed scripts.

Moderator: dafunkymunky

disable the x button in a form

Postby chubzyko on Wed Aug 27, 2008 5:45 pm

Code: Select all
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer)

    If UnloadMode = 0 Then Cancel = True

End Sub
"Failure is the key to success, so try and try until you succeed."
User avatar
chubzyko
100+ Club
 
Posts: 104
Joined: Wed Jul 30, 2008 10:48 pm
Location: Marikina City, Philippines

Who is online

Users browsing this forum: No registered users and 1 guest