[Lazarus] DesignPPI property in TDataModule

Ondrej Pokorny lazarus at kluug.net
Mon Apr 15 13:24:19 CEST 2019


On 15.04.2019 13:07, Sergey Bodrov via lazarus wrote:
> What sense in PPI for non-visual design-time component?

What do you mean? There is no PPI property in non-visual design-time 
components.


> If it used by child DPI-aware components like TImageList, then IMHO 
> better get PPI from TApplication.


Again, there is no PPI property in TImageList.


> TDataModule.DesignPPI property cause error popups in Lazarus/Delphi 
> multiplatform project.


Yes, there is TDataModule.DesignPPI that makes sure the positions 
(Left/Top properties) of the non-visual components are scaled correctly.

Ondrej



More information about the lazarus mailing list