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

Fabien Bodard gambas.fr at ...626...
Sun Aug 9 13:00:52 CEST 2009


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 ?


>
> 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
>




More information about the User mailing list