• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Custom IC SKILL
  3. "Browse for folder"- Dialog

Stats

  • Locked Locked
  • Replies 3
  • Subscribers 143
  • Views 1655
  • Members are here 0
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"Browse for folder"- Dialog

useratcad
useratcad over 16 years ago

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 

  • Cancel
  • skillUser
    skillUser over 16 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • useratcad
    useratcad over 16 years ago

    Great! You guys rock! 

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • useratcad
    useratcad over 16 years ago

    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.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information