Page 1 of 1

Help with gb.report2

Posted: Wednesday 14th September 2022 7:26pm
by Ham13
Hello!

Does anyone out there know how to use gb.report2? I've looked over the internet and found that most of the information points back to gb.report which is deprecated. I have gotten a basic report to work but all the properties of controls and boxes do not appear to work.
No matter what I set properties to I still get the same two columns. I cannot position the report labels across the HBox. They just line up touching the right border of the one to it's left. Cannot size them or locate them by code. On the positive side I can display correct data but, I cannot format it or arrange it. I must be missing something.

If there is some documentation on gbReort2, please point me there. If you have used this component with success please let me know.

Thanks,
Marty :(

Re: Help with gb.report2

Posted: Thursday 15th September 2022 9:10am
by BruceSteers
HBox ?? do you mean ReportHBox ?

If you look here (the docs you seek)...
http://gambaswiki.org/wiki/comp/gb.report2

there are many Report2 controls/containers listed and you have to use them instead of normal gambas ones.

Or are you already using the ReportHBox ?

Re: Help with gb.report2

Posted: Thursday 15th September 2022 9:13am
by BruceSteers

Re: Help with gb.report2

Posted: Thursday 15th September 2022 12:13pm
by vuott
BruceSteers wrote:
Thursday 15th September 2022 9:13am
and
...and Italian:
https://www.gambas-it.org/wiki/index.ph ... gb.report2

Re: Help with gb.report2

Posted: Thursday 15th September 2022 2:02pm
by Ham13
Bruce,

Thank you for your response. I will check out the articles you suggested. I am working with the report controls not the standard gambas ones. I copied a lot from the last example from Voutt. I managed to get the data and assign it to reportlabels as text but nothing shows on the report. I must be missing something. I'll look over what you sent and see where I'm wrong.

Thanks again. I'll let you know how i make out.

Marty

Re: Help with gb.report2

Posted: Thursday 15th September 2022 2:47pm
by vuott
Remember that Gianluigi (the author of that page of the Italian wiki on gb.report2) points out that the complete projects, related to the examples described, are located in "Software Farm".