Lazarus

Programming => Packages and Libraries => LazReport => Topic started by: Nicola Gorlandi on September 08, 2018, 12:13:43 pm

Title: LazReport, how to programtically hide a subreport ?
Post by: Nicola Gorlandi on September 08, 2018, 12:13:43 pm
How to programtically hide a subreport ? I would like to hide a sub report under some conditions, is it possible to do it with the designer or by Lazaus code ?
Many thanks
Title: Re: LazReport, how to programtically hide a subreport ?
Post by: GAN on September 18, 2018, 04:59:55 am
Yes, there are some possibilities, one of this is by defining a variable in Lazreport, then use it in the subreport script to show or hide it. I never used a subreport, so I give you an example (attached) using a simple memo to hide/show this way.
TinyPortal © 2005-2018