Results 1 to 6 of 6

Thread: That little X button in the top right. (Solved)

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2003
    Location
    Brisbane, Australia
    Posts
    72

    That little X button in the top right. (Solved)

    Can anyone tell me how I can attach code to it?

    At the moment when it is pressed it shuts down the program (which is fine) but doesn't do it correctly.

    Can anyone help?
    Last edited by Disgrace; Aug 25th, 2003 at 08:51 PM.

  2. #2
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    Try Form_Unload & Form_QueryUnload.

  3. #3
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    To do stuff when your form unloads you need to put your code in the Form_Unload or Form_QueryUnload events


    Has someone helped you? Then you can Rate their helpful post.

  4. #4
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171
    Too slow... lol


    Has someone helped you? Then you can Rate their helpful post.

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Jul 2003
    Location
    Brisbane, Australia
    Posts
    72

    Thumbs up

    Ok great. Thank you. I'll give it a shot.

    That would have to go down as the fastest response ever.

    EDIT: YAY it worked.

  6. #6
    Frenzied Member Spajeoly's Avatar
    Join Date
    Mar 2003
    Location
    Utah
    Posts
    1,068
    Originally posted by manavo11
    Too slow... lol
    Hah HA!

    Snatch pebble from hand of the master (Of typos).....

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