Author Topic: lazreport in a server  (Read 9653 times)


  • Sr. Member
  • ****
  • Posts: 311
    • Gestinux
Re: lazreport in a server
« Reply #15 on: January 09, 2014, 08:53:38 am »
Yes, Howard, you are right, we can't create a window with nogui widgetset, and LazReport should be changed for this reason. I'm not sure that a complete rewrite is required, I'll investigate...

However, the bitmap creation and the exception occurs before the window creation.
So my question remain : why can't we write on a bitmap  with nogui widgetset, provided this bitmap is not displayed on a form.

Initiator of gestinux, open-source, multi-database and multilingual accounting and billing software made with LAZARUS.

You can help to develop, to make and improve translations, and to provide examples of legal charts and reports from more countries.


  • Hero Member
  • *****
  • Posts: 1430
    • Graeme on the web
Re: lazreport in a server
« Reply #16 on: January 11, 2014, 12:08:50 pm »
Is it possible ? Is there any compilation directive for this ?
It might be possible with the "NoGUI" widgetset - but that is more of a hack than a permanent solution.

You could also take a look at fpGUI's report engine which generates PDF files - without any external dependencies. Currently there is a dependency on one or two fpGUI data types, but it is very few, so will be very easy to refactor those out. Michael van Canneyt at one time was actually considering just that - so the PDF report engine could be added to FPC's FCL.  BTW: the report engine code is located here []
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal


TinyPortal © 2005-2018