User Tag List

Results 1 to 7 of 7

Thread: Problem creating event for the DialogBox object...

  1. #1
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem creating event for the DialogBox object...

    Hey, folks.

    I'm having some difficulty properly creating an event using the DialogBox object. I love this object, but I'm having problems making it do what I want it to do.

    I have a large set of check boxes which the user would need to select manually. To help alleviate this, I have placed two check boxes with the following intended functionality:
    1.) "Select all options" selects all the check boxes
    2.) "Deselect all options" deselects all the check boxes


    I have these events trying to perform this functionality:

    "Select all options" check box is checked (from appropriate DialogBox object)
    --> Set check box state for "Deselect all options" to "0"
    --> Set check box state for each check box to "1"


    The inverse takes place for the "Deselect all options" check box.

    Yet, when I test this, these check boxes have no bearing with each other or the option check boxes.

    What would be the appropriate condition(s) to set for this?


    Thank you for your help in advance!



    Most appreciatively...

    RGBreality

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem creating event for the DialogBox object...

    Are you sure you are not accidentally opening the dialog box as modal? I'm not sure if it still triggers events when it is modal.

    I made this test MFA where it works fine:
    http://mfa.aquadasoft.com/view/1315000561-DialogCheckTest
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem creating event for the DialogBox object...

    Hey, LB!

    Hmmm... I didn't realize that opening the dialog box modally would affect that event. Indeed, I am intentionally opening the dialog box modally.

    I tried a test with the additional condition "dialog box is opened," but did not get any different results. Do you get the same result? I've tried setting the "dialog box is opened" as both the first and second condition in the event.

    Do you suppose that these events are not checked when the dialog box is opened modally? Should I specify for the dialog to merely be "opened"?

    Thanks for your help!



    Most appreciatively...

    RGBreality

  4. #4
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem creating event for the DialogBox object...

    You seem to have misunderstood what opening modal does, it actually freezes the entire application and prevents anything from happening outside the dialog. This means none of your events would run.

    So, yes, you do need to simple use "Open".
    Working as fast as I can on Fusion 3

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem creating event for the DialogBox object...

    If you need to prevent the user from giving input to the application, use the Kernel Object to disable the app window also. This will have the same effect as opening the DialogBox modally, but will not pause the event loop.

  6. #6
    Clicker Multimedia Fusion 2 DeveloperInstall Creator Pro

    Join Date
    May 2010
    Posts
    536
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem creating event for the DialogBox object...

    Hey, guys!

    Ah, I see!... I didn't realize that the "Open Modal" action had that effect! (I tell you, I learn something new about this product every day!)

    So, Jaffob, how would I use the Kernel object to disable the application window? Once I have it selected, which action disables it? Is it the "Window>Alter>Enable/Disable" action?

    Thanks again for taking the time to post great troubleshooting!



    Most appreciatively...

    RGBreality

  7. #7
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Problem creating event for the DialogBox object...

    Yes, though by default the Kernel object has (I think) the frame window selected, so you need to select parent window first.
    Working as fast as I can on Fusion 3

Similar Threads

  1. Creating a temporary event
    By Sorensen in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 16th March 2011, 02:03 PM
  2. [Bug]Creating object and changing it in same event
    By LB in forum Multimedia Fusion 2 - Technical Support
    Replies: 8
    Last Post: 2nd June 2009, 12:45 AM
  3. Advanced Comment Object - Event List Problem
    By droberson in forum Extension Development
    Replies: 7
    Last Post: 16th September 2008, 01:36 AM
  4. Problem creating object when scrolling
    By haora in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th August 2007, 08:25 AM
  5. DialogBox object resizing problem
    By waffles in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 28th September 2006, 09:03 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
  •