Question

I created a Report Designer years ago.

All components (labels, expressions, etc) of the report structure are represented by TLabels.

Bands of the report are represented by TPanels....

The component designer currently uses default pixels per inch (96).

Now I need to change the scale, to "zoom" the design and enhance the production.

My question is, how can I do zoom/scale on the contents of an TPanel? Is this possible?

Was it helpful?

Solution

You can call the ScaleControl method. It is protected so you'll need a helper or the protected hack to access the method.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top