TPrintPreview is generally great and really useful.
But I now have an odd problem with scaling. I have a high-res laptop (240 dpi), and an external standard res (120dpi) monitor. My app is DPI aware (but not per-monitor aware). When I do print preview with the program running only on the external monitor (so the program thinks it is 240 dpi, but actually Windows is scaling down), I only see half of the page rendered:
I can fudge it to come out right by multiplying FDeviceExt by 2 in UpdateExtends, but that's clearly not the right thing to do in general.
There are no other problems with my app, so not sure where the inconsistency is creeping in. Screen.PixelsPerInch and the GetDeviceCaps calls are all returning consistent values (240DPI). It looks perfect running on the laptop screen.
Any ideas/fixes?
Thanks for a useful component.