Hi guys,
I've trapped a misbehaving app in a panel and need to zoom out to make the whole app appear inside the panel without having to make the panel larger.
Anyone know how to do this? Is it even possible?
Cheers!
Hi guys,
I've trapped a misbehaving app in a panel and need to zoom out to make the whole app appear inside the panel without having to make the panel larger.
Anyone know how to do this? Is it even possible?
Cheers!
Apologies if i've missed something here; trapped an app?
Could you explain what you mean (with code sample if possible).
You can apply transformations to the graphics object in the panels Paint event to resize whats drawn, but i'm not sure how that would apply to what you are doing.
Basically, I've just used setparent to move the app onto a panel. The problem is that it's too big, and it doesn't want to get resized. All controls are statically placed, so a normal resize wouldn't really work anyway. That's why I'd like to shrink it to make it fit in the window.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.