Home > Community > Forums > Custom IC SKILL > "Browse for folder"- Dialog

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 "Browse for folder"- Dialog 

Last post Thu, Nov 20 2008 7:20 AM by useratcad. 3 replies.
Started by useratcad 19 Nov 2008 07:59 AM. Topic has 3 replies and 1730 views
Page 1 of 1 (4 items)
Sort Posts:
  • Wed, Nov 19 2008 7:59 AM

    • useratcad
    • Not Ranked
    • Joined on Thu, Oct 16 2008
    • Posts 15
    • Points 195
    "Browse for folder"- Dialog Reply

    Hello,

    I'm looking for a way to open a DialogBox where the user can select a directory. Is there a function for that or is there a way to print out a FolderTree in a Box?

     

    Thanks in advance

    Tim 

    • Post Points: 20
  • Wed, Nov 19 2008 8:13 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,567
    • Points 15,575
    Re: "Browse for folder"- Dialog Reply

    Hi Tim,

     I think that you want the ddsFileBrowseCB() function, it is hidden well in the documentation, but here is some brief information (from cdsFinder):

    ddsFileBrowseCB( r_form s_targetName [ t_filter ] [ s_mode ] [ t_caption ] )
         => t | nil

    Creates a file browser dialog for specifying file names through browsing.

    There is an example in SourceLink Solution 11457794

    Regards,

    Lawrence.

    Filed under:
    • Post Points: 20
  • Wed, Nov 19 2008 8:24 AM

    • useratcad
    • Not Ranked
    • Joined on Thu, Oct 16 2008
    • Posts 15
    • Points 195
    Re: "Browse for folder"- Dialog Reply

    Great! You guys rock! 

    • Post Points: 5
  • Thu, Nov 20 2008 7:20 AM

    • useratcad
    • Not Ranked
    • Joined on Thu, Oct 16 2008
    • Posts 15
    • Points 195
    Re: "Browse for folder"- Dialog Reply

    One more thing:

    somehow if I press in that Dialog the [OK]-Button it is not closing there is only a message "hiFormDone(_ddsFB_CelldocuInputForm)". I have to press [Cancel] in order to exit. Is there a workaround for that?

     

    2nd) And I was wondering if there is a function or way, that if I resize the for, that all the elements will resize themselves, too.

    So if I resize the window from 500 to a width of 400 the StringField should be 380 instead of 480 as well.

    • Post Points: 5
Page 1 of 1 (4 items)
Sort Posts:
Started by useratcad at 19 Nov 2008 07:59 AM. Topic has 3 replies.