Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2003
    Posts
    2

    Grin Dynamic List Box?

    I'm attempting to add some extra functionality to an existing installer, but I've no idea if it's even possible.

    My current installer browses the users hard drive for an existing database using the "Search for File" function. Based upon the results, I modify an INI file with the file path that was found.

    The problem is, if there are multiple instances of the file (say someone makes a backup), I just parse out the first one found, which is of course, not a practical solution.

    I'm looking at the List Box screen which would be great, only if I could dynamically set the number of options using the list of results found by my "Search for File" function and have the user select which file they want to use.

    Is anything like this possible with the latest version of Setup Factory?

    Thanks in advance for any help.

  2. #2
    Join Date
    Jul 2001
    Location
    Indigo Rose Software
    Posts
    1,834

    Re: Dynamic List Box?

    Yes, that's absolutely possible. In your Search for File action you will receive a semi-colon delimited string of results.

    Now if you go to the "List Box" screen's properties dialog, click the CUSTOM tab, there you will see a field entitled "Additional list box items (semi-colon delimited list).

    Therefore remove all options from the list and just populate the list based on the variable that is returned by your file search.

    Hope that helps.
    Darryl
    Indigo Rose Corporation

    Product Guides: AMS80 | SUF9 | TU30 | VP30 |MSIFACT |DeltaMAX

  3. #3
    Join Date
    Jan 2003
    Posts
    2

    Re: Dynamic List Box?

    Exactly what I needed!

    Thanks for the quick response!

    Though, now I feel like sort of a fool for not even noticing it, and the sad thing is, I looked.

    Thanks again.

Posting Permissions

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