• 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. Adding an image to a form, and other form questions

Stats

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

Adding an image to a form, and other form questions

blankman
blankman over 1 year ago

Hi all, I’m trying to create a form using “hiCreateAppForm”, and trying to place an image in the form - I couldn't locate the relevant field function in the documentation. I believe this is possible as I’ve seen it done elsewhere. Is there a field function alongside the other field functions such as hiCreateButton etc, that allows for this to be done? Or is there another method that is typically used?

 

Also wondering,

  • using the “?maxSize” function, is it possible to constrain the form only to the X dimension, but allow the Y to be varied?
  • is it possible to keep the form on top of other Virtuoso windows?
  • and is it possible to open the form directly under the mouse?

 

Thanks in advance,

Kind rgds,

Brian.

  • Cancel
  • AurelBuche
    AurelBuche over 1 year ago

    Hi, 

    To place images in your form you should use hiCreateLabel and hiCreate.., hypertext/HTML fields

    Then you can insert an image using HTMl syntax (it’s quite simple)

    about ?maxSize I am almost certain that it’s not possible to restrain the size in only one direction (maybe try with -1 or 0 but I don’t believe it will work)

    For the form on top of other windows and the startup position, this will mostly depend on your windows manager (windows, xfce, gnome etc.)

    Hope this helps

    cheers

    Aurelien

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AaronSymko
    AaronSymko over 1 year ago in reply to AurelBuche

    Also, for opening a form directly under the last mouse click, you can supply a second argument to hiDisplayForm as -1:-1.  For example:

    hiDisplayForm(formId -1:-1)
    
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • blankman
    blankman over 1 year ago in reply to AaronSymko

    Thanks Folks, very helpful

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 1 year ago in reply to AaronSymko

    I did not know that -1:-1 would place it under the cursor. That's a really good info. Thanks !

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • AurelBuche
    AurelBuche over 1 year ago in reply to blankman

    Also for your ?maxSize issue, to restrain only in one direction you could simply use a huge value for the other one (bigger than the screen width/height) 

    ?maxSize 500:10000 should do the job

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 1 year ago in reply to AurelBuche
    AurelBuche said:
    I did not know that -1:-1 would place it under the cursor. That's a really good info.

    Nor did I! It's always good to learn something new (good to see that it's documented behaviour, but I've not had any reason to look at the documentation about hiDisplayForm for a very long time)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • blankman
    blankman over 1 year ago in reply to Andrew Beckett

    Thanks AurelBuche, also another way I'm now realizing:

    ?minSize 901:80
    ?maxSize 901:632

    Brian.

    • Cancel
    • Vote Up +1 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