Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770

    I know this is simple but need a little help with input

    I have a button and a input box, i want to browse to a drive/folder and when you click on it , it will show the path in the input box.
    And dang if I can think how to do it right now.
    Thanks for helping me out.
    Oh my I got it.
    Code:
    result = Dialog.FolderBrowse("Please select a folder:", "C:\\");
    
    Input.SetText("Input1",result);
    Last edited by bobbie; 10-15-2007 at 10:24 PM. Reason: got it

  2. #2
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    You would want to check that they did not click Cancel.

    Code:
    result = Dialog.FolderBrowse("Please select a folder:", "C:\\");
    
    if result ~= "CANCEL" then
        Input.SetText("Input1",result);
    end
    Dermot

    I am so out of here

  3. #3
    Join Date
    Feb 2005
    Location
    Mn
    Posts
    770
    Thank you, forgot about that.

Similar Threads

  1. Input Box Wierdness
    By Roboblue in forum AutoPlay Media Studio 6.0
    Replies: 9
    Last Post: 11-18-2005, 01:20 PM
  2. Function: Validate the Contents of an Input Object
    By Lorne in forum AutoPlay Media Studio 5.0 Examples
    Replies: 2
    Last Post: 06-17-2004, 08:47 AM
  3. Lorne’s two great input validation scripts
    By csd214 in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 06-09-2004, 09:13 AM
  4. Function: Test Whether An Input Object Is Empty
    By Lorne in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 06-08-2004, 02:18 PM
  5. multiline input table apocalypse
    By dulux1309 in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 04-09-2004, 05:28 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