0
votes

I do not understand what is the purpose of PixelsPerInch property... It seems it is useless. If Scaled is checked, PixelsPerInch cannot be modified. If Scaled is unchecked and PixelsPerInch is changed, the form size an font is scaled to a fixed value, regardless of the value you entered in PixelsPerInch field. Of course, I checked the form size at runtime.

1
I don't understand the question. PixelsPerInch works the same in Rio as it did in Seattle or Berlin or Delphi 2007 or Delphi 7.Ken White
I just wanted to mention the version...Marus Nebunu
The problem is that the form is not scaled to another size (at runtime) when I change the PixelsPerInch value (at design time).Marus Nebunu
@KenWhite, look ! There is another user with the same problem, so I gues I am not crazy... The PixelsPerInch it seems is no longer used in the new versions of Delphi. These new versions behave like PixelsPerInch is fixed at 96 regardless of the value you enter... stackoverflow.com/questions/54742794/…Marus Nebunu

1 Answers

0
votes

Scaled is True

In the dfm file the PixelsPerInch property contains the screen DPI value used when the form was designed. This is necessary in order to be able to scale control position and size values to different DPI screens at runtime.

Scaled is False

The PixelsPerInch property is ignored and control position and size values are used unscaled.