• 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. Equivalent function for hiDisplayFileDialog in IC5

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 143
  • Views 14707
  • 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

Equivalent function for hiDisplayFileDialog in IC5

ksek
ksek over 6 years ago

Hi,

In Cadence IC6, the function "hiDisplayFileDialog" is available. However, in Cadence IC5, there are no such function.

May i know what is the equivalent command for this function? or is there any alternative to pop up the file dialog box?

Thanks,

KS.

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    You can use ddsFileBrowseCB() to start a file browser linked to a field in a form - this works in both IC5141 and IC61X - in IC61 it uses the newer hiDisplayFileDialog underneath, but in IC5141 it uses a custom file selector UI. There's no "hi" file browser in IC5141.

    Regards,

    Andrew.

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • ksek
    ksek over 6 years ago in reply to Andrew Beckett

    Thanks Andrew, the command "ddsFileBrowseCB()" is worked perfectly for me.

    I have other question regarding the command that not available in IC5 which is pcreCompile and pcreReplace. These two command only available in IC6. May I know is there any alternative to these function as well.

    Thanks,

    KS.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to ksek

    Hi KS,

    The only alternatives are the rexCompile and rexReplace functions. These support a rather more limited regular expression syntax.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • skillUser
    skillUser over 6 years ago in reply to ksek

    Hi KS,


    The closest thing to the pcre* functions in IC5x are the rex* functions such as rexMatchp(), rexCompile(), rexReplace() etc. - these are not as powerful as the pcre* functions, they do not support full regular expression syntax.

    Best regards,

    Lawrence.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ksek
    ksek over 6 years ago in reply to ksek

    Thanks for the answer for the rex* function.

    I actually encounter a problem when I using the function ddsFileBrowseCB(). This function do not block the code execution when the browser is popped up. I would like to have the option "?dontblock" in hiCreateAppForm whereby the code execution is continued after the form is close. Please let me know if you have any idea on how to do this?

    Best Regards,

    KS.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to ksek

    If you're wanting the form displayed by ddsFileBrowseCB to block, then it won't. Sorry. You'd have to write some code to create your own file browser if you really wanted that - I wrote something years ago to do this, but it's not something I really want to post here (it's ancient and I've not used it for ages so haven't tested it recently).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago in reply to ksek

    If you're wanting the form displayed by ddsFileBrowseCB to block, then it won't. Sorry. You'd have to write some code to create your own file browser if you really wanted that - I wrote something years ago to do this, but it's not something I really want to post here (it's ancient and I've not used it for ages so haven't tested it recently).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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