[Gambas-user] gb.report

Buster Seven buster6seven at ...626...
Tue Dec 8 00:46:52 CET 2015


I’m trying to use the reportview component that i add to a form and then
display my report without using the preview basically
my own preview form with the buttons on it to do what i want before it
printed etc


On Mon, Dec 7, 2015 at 8:32 PM, Frank <fgores at ...174...> wrote:

> with following code I open the .preview() to see how the Report looks like
> for printing:
>
> report1 = New Rptrechnung
> report1.Preview()
>
> if the Report is written right, all elements and text should be visible.
> the Reportview has a few buttons left below to show the Report in Preview
> partially, full screen etc....is that what you mean?
>
> Frank
>
>
> Op 05-12-15 om 01:24 schreef Buster Seven:
> > Tanks Frank Just what i needed.
> > One more question when displaying a report in reportview component how do
> > scale the report down to fit the reportview?
> >
> > thanks shane
> >
> > On Wed, Dec 2, 2015 at 8:43 PM, Frank <fgores at ...174...> wrote:
> >
> >> this is how I did it:
> >>
> >> Public Sub savepdf()
> >>
> >> Dim path As String
> >> Dim hReport1 As New Rpt
> >> Dim hprinter As New Printer
> >>
> >> path = "/home/me/Gambas/projecten/project/" & name & ".pdf"
> >>
> >> hprinter.Orientation = Printer.Portrait
> >> hprinter.Resolution = Desktop.Resolution
> >> hprinter.Paper = Printer.A4
> >> hprinter.OutputFile = path
> >> hReport1.Print(hprinter)
> >>
> >> Message.Info("something is saved")
> >>
> >> End
> >>
> >>
> >> brgds,
> >>
> >> Frank
> >>
> >> Op 02-12-15 om 10:37 schreef Fabien Bodard:
> >>> Do you use gb.report or gb.report2 ?
> >>> Le 2 déc. 2015 04:52, "Buster Seven" <buster6seven at ...626...> a écrit
> :
> >>>
> >>>> i'm using gb.report and I would like to save a pdf file automatically
> >>>> generated from my program without out user input ! is this possible?
> >>>>
> >>>>
> >>>> thanks Shane
> >>>>
> >>>>
> >>
> ------------------------------------------------------------------------------
> >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK
> >>>> Give your users amazing mobile app experiences with Intel(R) XDK.
> >>>> Use one codebase in this all-in-one HTML5 development environment.
> >>>> Design, debug & build mobile apps & 2D/3D high-impact games for
> multiple
> >>>> OSs.
> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> >>>> _______________________________________________
> >>>> Gambas-user mailing list
> >>>> Gambas-user at lists.sourceforge.net
> >>>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>>>
> >>
> ------------------------------------------------------------------------------
> >>> Go from Idea to Many App Stores Faster with Intel(R) XDK
> >>> Give your users amazing mobile app experiences with Intel(R) XDK.
> >>> Use one codebase in this all-in-one HTML5 development environment.
> >>> Design, debug & build mobile apps & 2D/3D high-impact games for
> multiple
> >> OSs.
> >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> >>> _______________________________________________
> >>> Gambas-user mailing list
> >>> Gambas-user at lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> >>
> ------------------------------------------------------------------------------
> >> Go from Idea to Many App Stores Faster with Intel(R) XDK
> >> Give your users amazing mobile app experiences with Intel(R) XDK.
> >> Use one codebase in this all-in-one HTML5 development environment.
> >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> >> OSs.
> >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> ------------------------------------------------------------------------------
> > Go from Idea to Many App Stores Faster with Intel(R) XDK
> > Give your users amazing mobile app experiences with Intel(R) XDK.
> > Use one codebase in this all-in-one HTML5 development environment.
> > Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> ------------------------------------------------------------------------------
> Go from Idea to Many App Stores Faster with Intel(R) XDK
> Give your users amazing mobile app experiences with Intel(R) XDK.
> Use one codebase in this all-in-one HTML5 development environment.
> Design, debug & build mobile apps & 2D/3D high-impact games for multiple
> OSs.
> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list