Results 1 to 15 of 15

Thread: [Resolved]Simple: Why doesnt this on unload code work?!

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member squakMix's Avatar
    Join Date
    Oct 2003
    Location
    Washington
    Posts
    342

    [Resolved]Simple: Why doesnt this on unload code work?!

    I have coding that looks like:

    VB Code:
    1. Private sub Form_Unload(Cancel as Integer)
    2. End
    3. End sub

    For some reason, when i click the close button, Nothing happends. My form's startup is main, and main calls for form1 to load. End unloads the WHOLE program. For some reason, It's just ending Form1, and Main is calling it back up. I put a close COMMAND button on it, and gave it the coding :

    Code:
    Private Sub Command1_click()
    End
    End Sub
    And it worked fine! Can i have a little help here? Thanks!
    Last edited by squakMix; Oct 22nd, 2003 at 10:39 PM.
    -squaK

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