Ambient properties of the MathCad environment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Ambient properties of the MathCad environment
Hi i'm new at this of programming controls in mathcad, how can I get the ambient properties of the mathcad environment?, I mean, how can I detect that mathcad zooms in or out. I saw that someone put that in this thread http://communities.ptc.com/message/172612#172612
I'm trying to resize some listboxes whenever I zoom in, because they stay the same size.
BTW, I tried also with a textbox with javascript and it kind of worked, but I don't want to rewrite everything, mainly because I don't know javascript.
Diego
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Actually, I take it back. You can get the zoom level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Sorry, but I don't think it's possible to get the zoom level. You can get the height and width, in pixels, of the main application window, but that's all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
That could be helpful to resize, how do I do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Actually, I take it back. You can get the zoom level.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nice feature.
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you very much.
Diego
![](/skins/images/695EE5AD3E567050FEDD72575855ED93/ptc_skin/images/icon_anonymous_message.png)