[Gambas-user] Report.Layout
T Lee Davidson
t.lee.davidson at gmail.com
Mon Aug 1 21:52:37 CEST 2022
On 8/1/22 07:09, gian via User wrote:
> Hi,
>
> in my relentless progressive senile stupor, in trying to figure out what the Report.Layout method is for (I think it should not
> have changed from the old gb.report http://gambaswiki.org/wiki/comp/gb.report/report/layout ), I came across this, I think
> bizarre, behavior of DataCount http://gambaswiki.org/wiki/comp/gb.report2/reportcontainer/datacount .
>
> Here the report keeps loading pages until the stack overflows.
>
> Could someone kindly explain to me what I am doing wrong and what Report.Layout is for ?
> See attached project
>
> Thank you for your attention & Regards
>
> Gianluigi
I don't think you're doing anything wrong. I think it's a bug.
The Data event for the ReportImage is raised 6 times when it should be raised only 3 given that ReportHBox2.DataCount = 3. The
Data events for the ReportLabels that have been given text in the IDE are never raised. And, the Data events for the other two
labels continually recycle through the index 0-2, again and again.
And, sorry, I have no idea what Report.Layout() is for. I moved it around to a couple different locations in the code, and it
did not appear to change the behavior.
--
Lee
More information about the User
mailing list