[Lazarus] LCL customdraw and LCL fpGUI bug

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri May 3 16:56:02 CEST 2019


On 02/05/2019 03:13, Fabio Luis Girardi via lazarus wrote:
> LCL-fpGUI needs some fixes


I've just submitted a set of 11 patches for LCL-fpGUI:

   https://bugs.freepascal.org/view.php?id=35478


TLabel finally works. :-)


Unfortunately the TMonitor.GetPixelsPerInch() issue is still not fixed.
I manually commented out the code...

  if WidgetSet.GetDpiForMonitor(FHandle, MDT_EFFECTIVE_DPI, X, Y)=S_OK then
   ...
  else

and only left the "Result = Screen.PixelsPerInch;" call in place. If you
didn't guess, it is a temporary fix. ;-)


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp


More information about the lazarus mailing list