• 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. View file control and button colour

Stats

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

View file control and button colour

Drake96
Drake96 over 3 years ago

Hi,

I have two questions-

1) am using hiviewfile..how can i control the size of the message box opening?

2)IS there a way to colour the button or the text on button?

Drake

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 3 years ago
    1. No. You could use hiGetExistingFile instead which allows the control over where the file selector appears, and then have your own callback to call view() with screen coordinates (not sure what you meant by "message box opening" - it could have been either the size of the file selector dialog (which you can't control) or the size of the resulting view window (which you can control if you do it yourself)
    2. No, unless you use an icon on the button rather than text. The buttonText isn't HTML, so you can't change the colour. You can do this with some widgets (e.g. hiCreateLabel), but not buttons.

    Andrew

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

    See also: How to create button with custom icon data?

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

    See also: How to create button with custom icon data?

    • 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