Re: [Lazarus] Lazreport: how to print something when there are no records?

2022-12-14 Thread Luca Olivetti via lazarus

El 13/12/22 a les 12:53, Luca Olivetti via lazarus ha escrit:
As per the subject, I'd like LazReport to print "No records to print" 
(or whatever else I want to print) when there are no records in the 
dataset.

How do I do that?


I found a way: add a record summary band with my text and in the 
OnBeginBand event I set its visible property to false if there are 
records in the dataset.


Bye
--
Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Attn. Don, documentation snapshots via CI

2022-12-14 Thread Maxim Ganetsky via lazarus

Hello.

As a first step of solving outdated documentation snapshot issue 
(https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40032 ) I 
propose to generate it as an artifact of CI job (in `main` branch for 
now), which then can be uploaded wherever we want.


So I have the following questions:

1. FPDoc from which FPC version is preferred (from `main` branch I guess)?
2. Where rtl.xct and fcl.xct should be obtained? Should FPC 
documentation be built first?

3. Should we build HTML, CHM or both?
4. Are there any dependencies beyond Lazarus, FPC and their sources?

--
Best regards,
 Maxim Ganetsky  mailto:gan...@narod.ru
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Attn. Don, documentation snapshots via CI

2022-12-14 Thread Michael Van Canneyt via lazarus




On Thu, 15 Dec 2022, Maxim Ganetsky via lazarus wrote:


Hello.

As a first step of solving outdated documentation snapshot issue 
(https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40032 ) I propose 
to generate it as an artifact of CI job (in `main` branch for now), which 
then can be uploaded wherever we want.


So I have the following questions:

1. FPDoc from which FPC version is preferred (from `main` branch I guess)?


main.

2. Where rtl.xct and fcl.xct should be obtained? Should FPC documentation be 
built first?


rtl.xct and fcl.xct are generated when the FPC documentation is built.

However, note that the documentation of FPC is only updated after a release.
so if you use FPC main to generate documentation, it will not match what FPC
publishes.


3. Should we build HTML, CHM or both?


If it is for upload, then CHM makes no sense to me, but that's up to the
lazarus team, obviously...

Michael.
--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus