[Gambas-user] Grab command

trat50 trat50 at ...67...
Sat Apr 21 02:37:03 CEST 2012


Thanks Tobi,  Yes you are correct - this is on Gambas2.
I'll have to try that on a PictureBox.  Initially I had everything for this
app on a PictureBox, but I didn't know how to draw on those.  I'll see what
I can find in the texts, or maybe someone will chime in.
  

tobi-15 wrote:
> 
> On Fri, 20 Apr 2012, trat50 wrote:
>> 
>> Hi Tobi, I just tried that - but it still blacks out anything not visible
>> on
>> the computer monitor.
>> 
>> 
>> tobi-15 wrote:
>> > 
>> > If you are talking about GB2, you can do:
>> > 
>> > DrawingArea.Grab().Save(Path, [Quality])
>> > 
>> > However, in GB3, the Grab method is entirely different. Refer to
>> > http://www.gambasdoc.org/help/comp/gb.qt4/control/grab?v3
>> > 
>> > Regards,
>> > Tobi
>> > 
>> >
>> ------------------------------------------------------------------------------
>> > For Developers, A Lot Can Happen In A Second.
>> > Boundary is the first to Know...and Tell You.
>> > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> > http://p.sf.net/sfu/Boundary-d2dvs2
>> > _______________________________________________
>> > Gambas-user mailing list
>> > Gambas-user at lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> > 
>> > 
>> 
>> -- 
>> View this message in context:
>> http://old.nabble.com/Grab-command-tp33715676p33721340.html
>> Sent from the gambas-user mailing list archive at Nabble.com.
>> 
>> 
>> ------------------------------------------------------------------------------
>> For Developers, A Lot Can Happen In A Second.
>> Boundary is the first to Know...and Tell You.
>> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
>> http://p.sf.net/sfu/Boundary-d2dvs2
>> _______________________________________________
>> Gambas-user mailing list
>> Gambas-user at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> I assume that you are using GB2? I can't help you with that aspect of the
> routine, I don't want to
> bother myself with downloading the GB2 source tree just to look up how
> Control.Grab() works, there
> are people around here that can tell you from memory if you are patient ;)
> (In fact, I haven't read the other mails you sent before replying to your
> first one, sorry)
> 
> A suggestion: It is often better to draw on a Picture object and put that
> into a DrawingArea for
> display only, as I never found a way to get the "internal Picture that is
> used by the DrawingArea"
> mentioned in the docs. (Perhaps I just didn't look at the right places or
> something, but if you can,
> you could go this way)
> 
> Regards,
> Tobi
> 
> ------------------------------------------------------------------------------
> For Developers, A Lot Can Happen In A Second.
> Boundary is the first to Know...and Tell You.
> Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
> http://p.sf.net/sfu/Boundary-d2dvs2
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> 

-- 
View this message in context: http://old.nabble.com/Grab-command-tp33715676p33723445.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list