CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Cancel unload

  1. #1
    Guest

    Cancel unload

    This is probably a really easy question, but I need to know how to cancel the unloading of a form... in the unloading of a form it says
    Private Sub form

  2. #2
    Join Date
    Jul 1999
    Posts
    104

    Re: Cancel unload

    just set the cancel to -1

    private Sub Form_Unload(Cancel as Integer)
    Cancel = -1
    End Sub





  3. #3
    Guest

    Re: Cancel unload

    Thanx, that got it workin=)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured