User Tag List

Results 1 to 5 of 5

Thread: MDI Child Close - how to do?

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MDI Child Close - how to do?

    Hey guys, im using the MDI option in mmf2 dev in my latest app (Webit 2.0) and i have got to the point of checking to see if a editor is being closed (which is a mdi child)

    What i have come to realize is when you quit the MDI Child by using the x button (usual top right), the object "Sub Application" still exists, and to get rid of it you have to "destroy" it. But there seems to be now real way of checking if the sub application has been quit (as you cant use any of the options like "hide when quit" as thats not part of MDI)

    So can anyone seem to find a way of being able to use the X to quit and detect if it has been quit without closing the window (so i can prompt "are you sure you want to quit" etc)

    Thanks

    Si xx

  2. #2
    Forum Moderator Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export Module

    Join Date
    Sep 2006
    Location
    Norway
    Posts
    445
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MDI Shild Close - how to do?

    End of frame or End of application(find them under Storybord controls) condition should do it
    Jean Villy Edberg

  3. #3
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MDI Shild Close - how to do?

    Yeah, but i need it to run for more then 1 condition, as after this condition it will quit! You can use the "no quit" option and such without the MDI but i cant seem to find a way of doing it as a child!

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Posts
    227
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: MDI Shild Close - how to do?

    ok all dont worry (not sure if you were anyways) but i figured out a way to do it!

    Im not sure if its a tiny bug, but i unticked the "MDI Child" box, ticked the "popup box" and then ticked the "hide when closed", then re-tick the MDI child box

    The MDI child will now hide when quit! You will have to quit it internally from here!

  5. #5
    Clickteam Clickteam

    Join Date
    Jun 2006
    Location
    France
    Posts
    14,022
    Mentioned
    279 Post(s)
    Tagged
    3 Thread(s)

    Re: MDI Shild Close - how to do?

    It's possible to detect if the application window is being closed. Just use the "Close window has been selected" condition in the event editor (note: as soon as you use this condition, the Close Window button is intercepted and no longer works, you have to end the application yourself).

    Look at the Child Window frame in the MDI Wordpad example on the second CD of MMF2, I use this feature in this example.

Similar Threads

  1. "Close window had been selected" wont let me close
    By BrashMonkey in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 2nd September 2010, 07:57 PM
  2. Parent-Child?
    By xhunterko in forum File Archive
    Replies: 2
    Last Post: 6th December 2009, 08:18 PM
  3. MDI Child et Focus
    By Sphax in forum File Archive
    Replies: 2
    Last Post: 3rd August 2006, 10:05 AM

Posting Permissions

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