[Gambas-user] Capturing part of a screen in a gambas program

richard terry rterry at ...1946...
Sun Aug 9 13:24:04 CEST 2009


On Sun, 9 Aug 2009 09:00:52 pm Fabien Bodard wrote:
> 2009/8/9 Joshua Higgins <joshiggins at ...1601...>:
> > You could use a
> >
> > SHELL "import -window root myscreenshot.png" and then load the resulting
> > image.
> >
> > If you leave out the "-window root" bit, it allows you to click and drag
> > over a section of the screen to just capture that bit.
>
> Picture = MyForm.Grab ?

Thanks, just what I wanted. I've got a VBox to which I can add thumbnails of 
images and I wanted to be be able to get a single picture of the (up to 9) 
small images in one go to paste into a text document.

thanks heaps to all.

Richard

> > 2009/8/9 richard terry <rterry at ...1946...>
> >
> >> I wondered if it is possible to capture part of a screen within one's
> >> own gambas program as a png file say, for use within the program?
> >>
> >> Any help appreciated.
> >>
> >> Richard
> >>
> >>
> >> ------------------------------------------------------------------------
> >>------ Let Crystal Reports handle the reporting - Free Crystal Reports
> >> 2008 30-Day trial. Simplify your report design, integration and
> >> deployment - and focus on
> >> what you do best, core application coding. Discover what's new with
> >> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> >> _______________________________________________
> >> Gambas-user mailing list
> >> Gambas-user at lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> > --
> > joshua higgins
> >
> >>>>>>>------
> >
> > -------------------------------------------------------------------------
> >----- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> > 30-Day trial. Simplify your report design, integration and deployment -
> > and focus on what you do best, core application coding. Discover what's
> > new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
> ---------------------------------------------------------------------------
>--- Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-Day trial. Simplify your report design, integration and deployment - and
> focus on what you do best, core application coding. Discover what's new
> with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> 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