User Tag List

Results 1 to 7 of 7

Thread: Can I intercept and about the user closing the App

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Can I intercept and about the user closing the App

    Hi,

    I'm creating an APP wher the user can save modified data.

    I'd love it if when the user goes to close the App (via the close icon at the top right of the window or menu selection) that a dialogue box would pop up and ask if the user wants to save changes before closing.

    Is this possible?

    thanks much

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Can I intercept and about the user closing the App

    There is a condition to check if the close button was pressed. Special-->Application Menu-->Close window has been selected.
    Keep in mind that if you use it, you will have to manually close the app after you do your saving.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Can I intercept and about the user closing the App

    Thanks very much StephenL!

  4. #4
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Can I intercept and about the user closing the App

    Actually, Now I cant close the app even manually... I'm guessing because even the action of closing in an event triggers toe dialogue box to reopen?

    Is there a trick around this?

  5. #5
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Can I intercept and about the user closing the App

    I've sent you a pm.
    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Jun 2006
    Location
    St. Ave France
    Posts
    1,166
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Can I intercept and about the user closing the App

    Thank you for giving me a hand... once we figure out what I'm doing wrong I'll post that here to hopefully help someone else some day.

  7. #7
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export Module
    Stephen's Avatar
    Join Date
    Aug 2008
    Location
    Montana
    Posts
    4,515
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Can I intercept and about the user closing the App

    I sent you two examples that should help.

    Edit: In case anyone wants to know how to solve this, here is how to do it.

    Using the non-modal dialog box, it works this way:

    Keep in mind that your button properties should have a name, in this case "save_button".
    NonModal Example MFA



    Using modal, you need to do it this way:

    This way doesn't require a button name, but you need to check: "Close Dialog" and "Ok Button" in the button properties.
    Modal Example MFA

    _____________________________________________
    Nivram's Examples -Need extensions? Send me a PM.-


Similar Threads

  1. URL/Closing question.
    By Fanotherpg in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 30th October 2010, 12:52 AM
  2. Automaticly Closing Channels
    By Jack_Mcphee in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 30th October 2008, 10:59 PM
  3. Closing another app than the one opened
    By GabSt in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd October 2008, 08:19 PM
  4. Closing External Applications
    By Jaffob in forum File Archive
    Replies: 0
    Last Post: 13th September 2008, 12:33 PM

Posting Permissions

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