[Gambas-user] Report.Layout

gian bagoneo at libero.it
Mon Aug 1 23:15:47 CEST 2022


Il 01/08/22 22:29, Fabien Bodard ha scritto:
> Layout is for compute all the content arrangement before being able to 
> draw it.
> 
> The paint fonction call it automatically
> 
> But sometime it is usefull to layout in advance liké for the preview
> 
> Le lun. 1 août 2022 à 21:53, T Lee Davidson <t.lee.davidson at gmail.com 
> <mailto:t.lee.davidson at gmail.com>> a écrit :
> 
>     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
>     ...
>      > See attached project
>      
>     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


Hi Lee and Fabien,

kind as usual, thank you for your responses.

@Fabien,
what should I do do do you want me to open a new bugtracker report or is 
this report enough?

I love you

Gianluigi



More information about the User mailing list