Common Dialoge multiselect bug?!

This forum is currently in read-only mode.
0 favourites
From the Asset Store
Make your horror game even more Scary with sound effects! :)
  • I made a list i wanted to have it so that you could add alot of files through the comondialoge object but their seems to be something wrong with the multiselect function??!

    JP3.cap - 0.07MB

    Can it be a bug?

    <img src="smileys/smiley4.gif" border="0" align="middle"> <img src="smileys/smiley17.gif" border="0" align="middle">

  • Is the fault with the index? Should i use for loop so that i can use the proper ined 0-1 whichever is what the list obeject and the commondialoge use?

  • How come noby want's to help me?

    <img src="smileys/smiley13.gif" border="0" align="middle" />

  • Probably because when you click on the link to download your example, it takes you to a page that tries to make you download 'Mobyler', and doesnt even mention your file ?

    It even stops me using the 'back' option to return to the Construct site.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Tulamide, I guess you did not check my attachment?

    Re uploading on another host.

    mediafire.com

    Maybe something wrong with the function object?

  • I made a list i wanted to have it so that you could add alot of files through the comondialoge object but their seems to be something wrong with the multiselect function??!You asked if there is something wrong with multiselection. I showed you that there is nothing wrong with it.

    Can it be a bug?You then asked, if there is a bug. Again, I showed you that there is no bug.

    Is the fault with the index? Should i use for loop so that i can use the proper ined 0-1 whichever is what the list obeject and the commondialoge use?Then you asked for 1-based or 0-based, and if a for-loop should be used. And again, I showed you how to use a for loop and that it is 0-based.

    Now what else do you expect me to answer? I can only answer to questions you make. And I did, with an example file.

    I can't find anything wrong in your actual cap. It all works as expected. You could download "Verve!", a complex example cap that also covers the use of the ID3 object, and what to pay attention to when using it.

    Other than that, describe your exact problem clearly.

  • I cannot add more than six files!

    If more than six files are added att once, none will be added!

  • I cannot add more than six files!

    If more than six files are added att once, none will be added!

    I thought I recalled you saying that before, or maybe it was somewhere else. Anyways I get the same issue. From what I've read about the winapi open file dialog, which is what the commonDialog object most likely uses, the dialog will fail if the buffer it is using is not big enough to store all the file names.

    Here is a solution using python:

    http://dl.dropbox.com/u/5426011/examples6/fileDialog.cap

  • I did, although it dissapeard when i edited the first post.

    Hm, I can't seem to import tkinter?

    ImportError: No module named tkinter.

    I've never used import before.

  • Python is case sensitive so it would be "Tkinter" not "tkinter". Unless it's giving you that error by just running my example... Let me know if that's the case.

  • Python is case sensitive so it would be "Tkinter" not "tkinter". Unless it's giving you that error by just running my example... Let me know if that's the case.

    I got that error from running your app.

  • Here is the example again, but this time I've included all the required python files.

    http://dl.dropbox.com/u/5426011/examples6/fileDialog.zip

  • Here is the example again, but this time I've included all the required python files.

    http://dl.dropbox.com/u/5426011/examples6/fileDialog.zip

    I keep getting module not found errors.

    Besides what you inlcuded i had to add:

    ntpath

    os

    stay

    enericpath

    warnings

    linecache

    types

    userDict

    and many more...

    I realised it wanted me to include everything in Data\Python so I did.

    Then I got this error...

    [
  • R0J0hound

    I haven't got python installed, but usually your examples work when you include the extra .pyc files, etc - but not this time.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)