• 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 button not working in Skill GUI

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 143
  • Views 13447
  • 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 button not working in Skill GUI

Sandeep4386
Sandeep4386 over 13 years ago

I'm having issue with Browse button in GUI. It does nothing when I click it. Below is my code:

 ;creation of form

Browse=hiCreateButton( ?name 'browse ?buttonText "Browse" ?callback "SyncBrowser()")

hiCreateAppForm(

?name 'skillGUI

?formTitle "A simple GUI"

?fields

list( list(Library 0:40 600:30 200)

list(Cell 0:70 600:30 200)

list(Cellview 0:100 600:30 200)

list(Run 50:160 100:30 200)

list(ViewOutputFile 200:160 200:30 200)

list(Browse 450:160 100:30 200)

            );list

);hi createAppForm

 

 

 procedure(SyncBrowser()

ddsSyncWithForm(

skillGUI()

'Library

'Cell

'Cellview

'Browse

);ddsSyncWithForm

 );Procedure

 

Any clue where I am going wrong?

 Thanks,

Sandeep 

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

    Sandeep,

    Assuming that the rest of the code is this:

    Library=hiCreateStringField(?name 'Library ?prompt "Library")
    Cell=hiCreateStringField(?name 'Cell ?prompt "Cell")
    Cellview=hiCreateStringField(?name 'Cellview ?prompt "View")
    Run=hiCreateButton(?name 'Run ?buttonText "Run")
    ViewOutputFile=hiCreateButton(?name 'ViewOutputFile ?buttonText "View")

    then quite understandably I get an error when I hit the Browse button:

    *Error* eval: undefined function - skillGUI

    That's because the first argument to ddsSyncWithForm() is incorrect. It should be skillGUI not skillGUI() . Also the second argument should be 'browse and you should not have 'Browse at the end (see the documentation).

     ddsSyncWithForm(
        skillGUI
        'browse
        'Library
        'Cell
        'Cellview
    );ddsSyncWithForm

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    Sandeep,

    Assuming that the rest of the code is this:

    Library=hiCreateStringField(?name 'Library ?prompt "Library")
    Cell=hiCreateStringField(?name 'Cell ?prompt "Cell")
    Cellview=hiCreateStringField(?name 'Cellview ?prompt "View")
    Run=hiCreateButton(?name 'Run ?buttonText "Run")
    ViewOutputFile=hiCreateButton(?name 'ViewOutputFile ?buttonText "View")

    then quite understandably I get an error when I hit the Browse button:

    *Error* eval: undefined function - skillGUI

    That's because the first argument to ddsSyncWithForm() is incorrect. It should be skillGUI not skillGUI() . Also the second argument should be 'browse and you should not have 'Browse at the end (see the documentation).

     ddsSyncWithForm(
        skillGUI
        'browse
        'Library
        'Cell
        'Cellview
    );ddsSyncWithForm

    Regards,

    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