Skip to main content
1-Visitor
December 16, 2011
Solved

Ambient properties of the MathCad environment

  • December 16, 2011
  • 1 reply
  • 5787 views

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

Best answer by RichardJ

Actually, I take it back. You can get the zoom level.

1 reply

19-Tanzanite
December 16, 2011

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.

dgalvan1-VisitorAuthor
1-Visitor
December 19, 2011

That could be helpful to resize, how do I do that?

RichardJ19-TanzaniteAnswer
19-Tanzanite
December 19, 2011

Actually, I take it back. You can get the zoom level.