I created a setup with custom wizard pages and custom background images.
The problem is with non-standard DPI systems.
When I run this setup the background images are not properly showing.
How can I detect the DPI size and use custom settings for wizard pages?
The “most correct” way is to have alternative images for small and larger fonts mode.
The “slightly less correct” method is to pad the background so it shows that instead of shrinking.
The “very wrong” method is to try and adjust the form layout/size to suit.
You can detect the DPI size using the
TGraphicsObject.PixelsPerInchproperty and load a different image.