cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Ambient properties of the MathCad environment

dgalvan
1-Visitor

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

ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:dgalvan)

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

View solution in original post

5 REPLIES 5
RichardJ
19-Tanzanite
(To:dgalvan)

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.

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

RichardJ
19-Tanzanite
(To:dgalvan)

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

Nice feature.

Mike

Thank you very much.

Diego

Announcements

Top Tags