[Lazarus] DesignPPI property in TDataModule

Sergey Bodrov serbod at gmail.com
Mon Apr 15 14:35:39 CEST 2019


пн, 15 апр. 2019 г. в 14:42, Ondrej Pokorny via lazarus <
lazarus at lists.lazarus-ide.org>:

> Yes, there is TDataModule.DesignPPI that makes sure the positions
> > (Left/Top properties) of the non-visual components are scaled correctly.
>
>
> By the way, the default value of 96 should not be written to LFM/DFM. So
> you should not get any warnings if you develop at 96 DPI / 100% scaling.
>

content of some Delphi .DFM after Lazarus 2.0.0 win64 release:
===
object DMBaseClient: TDMBaseClient
  OnCreate = DataModuleCreate
  OnDestroy = DataModuleDestroy
  OldCreateOrder = False
  Height = 269
  HorizontalOffset = 0
  VerticalOffset = 0
  Width = 441
  *PPI = 96*
  object tmrCheckActivity: TTimer
    OnTimer = tmrCheckActivityTimer
    left = 104
    top = 104
  end
  object tmrProcessPackets: TTimer
    Interval = 1
    OnTimer = tmrProcessPacketsTimer
    left = 104
    top = 148
  end
end
---


-- 
*Bodrov Sergey*
software development, IT consulting
http://www.serbod.com
*Phone (Belarus):* +375(25)794-21-58
*Skype:* sergey.bodrov1
*e-mail:* serbod at gmail.com, oxotnuk at yandex.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20190415/c5b1f0c9/attachment.html>


More information about the lazarus mailing list