Re: [Gambas-user] Grab command

2012-04-22 Thread trat50
How to prevent part of an image from getting blacked out if it extends off the edge of the screen: Here's how I synchronized Sky (a displayed PictureBox) with Sky1 (an undisplayed Picture): This allows DRAWING ON and SAVING - using the undisplayed Drawing, while seeing the results in the PictureBo

Re: [Gambas-user] Grab command

2012-04-22 Thread trat50
OK Tobi, IT WORKS! :jumping: I will write a few lines of code after breakfast for anyone else trying to do this. tobi-15 wrote: > > ___ > You don't need to draw on a PictureBox. Just draw on a Picture object and > then place that drawn > Picture in t

Re: [Gambas-user] Grab command

2012-04-21 Thread trat50
But Tobi, I have been drawing just fine on a DrawingArea. The DrawingArea named "Sky" is the picture posted above... I switched from a PictureBox to a DrawingArea because I couldn't draw on a PictureBox. Now I am back to the original problem... how to draw on a PictureBox. When I attempt to dr

Re: [Gambas-user] Grab command

2012-04-20 Thread trat50
te: > > 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 d

Re: [Gambas-user] Grab command

2012-04-20 Thread trat50
Hi Tobi, I just tried that - but it still blacks out anything not visible on the computer monitor. tobi-15 wrote: > > On Thu, 19 Apr 2012, trat50 wrote: >> >> I would like some help the syntax of the Grab command. >> I want to save a DrawingArea as a png or jpg file.

Re: [Gambas-user] Grab command

2012-04-19 Thread trat50
I found this older post that deals with the same problem... ...this sounds like it would work - but how does one do this? Is this just a matter of copying the DrawingArea to a PictureBox? (Björn Röder - are you still here?) Björn Röder wrote: > > Hello everyone! > > I found the solution for

Re: [Gambas-user] Grab command

2012-04-19 Thread trat50
Here is what I tried: PUBLIC SUB ToggleButton1_Click() 'The SAVE CALENDAR button DIM HolyCal AS NEW Picture Sky.Grab().Image.Save("HolyCal.jpg") The DrawingArea named "Sky" is saved... ...but the bottom of the picture (that is too tall for the monitor) is blacked out. http://old.nabble.com/fil

[Gambas-user] Grab command

2012-04-19 Thread trat50
I would like some help the syntax of the Grab command. I want to save a DrawingArea as a png or jpg file. Would someone please post a short example. Thank you. -- View this message in context: http://old.nabble.com/Grab-command-tp33715676p33715676.html Sent from the gambas-user mailing list arc