On Wed, 7 Oct 2015, Graeme Geldenhuys wrote:
On 2015-10-07 11:42, Ondrej Pokorny wrote:
it is possible with manual approach:
https://community.embarcadero.com/blogs/blog-menu/entry/how-to-guide-upgrading-your-delphi-vcl-applications-to-support-4k-displays
(Works pretty well.)
OMG - a 38 page guide! Are they joking. I used about 20 lines of source
code and my fpGUI apps scale perfectly. The same method (and very
similar code) can be applied to LCL too. Bitmap images/icons are the
only thing that needs a bit more attention (to keep them sharp), and
that is where SVG comes in.
The document is so big because they provide a lot of background info,
they also cover the manifest file etc. Actual code is very little.
It's already outdated, because for Windows 10 you need yet another entry
in the manifest file...
Michael.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus