User Tag List

Results 1 to 6 of 6

Thread: Similar To Common Dialog Object

  1. #1
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Similar To Common Dialog Object

    I'm looking for an object that's similar to the Common Dialog Object, however, instead of being able to select a file I want the user to be able to select a directory.

    I've been able to use the Tree Explorer Object to set the pathname in a textbox. The only issue is that I don't want to have the object visible as the Tree Explorer object is. I want the dialog to pop up when someone clicks on a button. I know there's something simple I'm overlooking as there has to be an object or dialog like that already in existance.

    Thanks.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Similar To Common Dialog Object

    Hi Kracker,

    have you tried the "Dialox-Box-Object"? It allows you to create you own Dialog-Boxes.

    In the Dialog-Box you could have a Button to select the Folder. When the user clicks on the Button then use the "File-Object" to display the "Directory-Selector". You can then retrieve the Directory that the User has selected and for example "paste" the Path to the (User-selected) Directory in an Edit-Box or use for further "events-processing".

    I hope you understand what i mean. Otherwise i could make a small example for you.

    Greets,

    jahkri

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Similar To Common Dialog Object

    By the Way, if you use the "Dialog-Box-Object", then you have to use the normal "open"-command. Don' t use the "open modal"-command, because your MMF-Event-Loop will be stopped when the Dialog-Box is opened in Modal-Mode. But if you want to "do" Actions in the Dialog-Box, then you need the Event-Loop to be running.
    The Downside of using the normal "open"-command is that the user can switch back to the "Main-Window" of your Application and do stuff while the Dialog-Box is still openend. I had this Problem some Time ago and a nice MMF-User has presented me a solution to this (sadly i don' t know his name anymore, but will post as soon as i' ve found out).

    With the Kernel-Object you can "disable" the Main-Window while the Dialog-Box is opened so the Main-Window can' t be "accessed" anymore (but the MMF-Event-Loop still runs!) Don' t forget to "enable" the Main-Window again when the Dialog-Box is closed.

    Greets,

    jahkri

  4. #4
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Similar To Common Dialog Object

    Thanks for the suggestions but I don't see any "Directory Selector" in the File Object. The only options related to a directory that I see are for set directory paths (e.g. Current directory, Windows directory, Systems directory My Documents directory, etc).

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Dec 2009
    Location
    Louisiana, USA
    Posts
    369
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Similar To Common Dialog Object

    OK, I've figured it out. I thought maybe I was just going coocoo for cocoa puffs. I searched google for MMF2 select directory and found a post by Nifflas (http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=181163) and downloaded the zip file. Unzipped and ran the file and discovered that there really is a directory selector feature. Pulled a few hairs out and finally realized it's under the "File Selector" option. That's all I was ever looking for and finally found it. Thanks.

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Nov 2010
    Location
    Switzerland
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Similar To Common Dialog Object

    Hi Kracker,

    sorry that i didn' t excactly specify where to find the "Directory-Selector". Hopefully you don' t have lost to many Hairs because of this

    Anyway, good to hear that it works for you now.

    Greets,

    jahkri

Similar Threads

  1. Help with Common Dialog Object
    By Telephone in forum File Archive
    Replies: 3
    Last Post: 16th February 2011, 09:52 PM
  2. Common Dialog Object Vista
    By wizkidweb in forum Extension Development
    Replies: 5
    Last Post: 3rd December 2008, 03:31 PM
  3. Common Dialog object problem
    By Robin_Manager in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th November 2008, 04:42 PM
  4. Common Dialog Box Object Issues
    By kungsangun in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 6th June 2008, 06:59 AM
  5. Common Dialog Object sometimes won't show Load
    By aidmm in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 23rd October 2006, 01:28 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
  •