Re: [Gambas-user] picturebox

2016-06-13 Thread Buster Seven
Thanks Gianluigi On Mon, Jun 13, 2016 at 5:04 PM, Gianluigi wrote: > PictureBox1.Picture = MyImage.Copy(X, Y, W, H).Picture > > 2016-06-13 4:32 GMT+02:00 Shane : > > > I tried that but I get the error Image is read only > > mypicbox.picture.image = myimage.copy(x,y,width,height) > > > > On 12/

Re: [Gambas-user] picturebox

2016-06-13 Thread Gianluigi
PictureBox1.Picture = MyImage.Copy(X, Y, W, H).Picture 2016-06-13 4:32 GMT+02:00 Shane : > I tried that but I get the error Image is read only > mypicbox.picture.image = myimage.copy(x,y,width,height) > > On 12/06/16 22:18, Gianluigi wrote: > > Looking for this? > > http://gambaswiki.org/wiki/com

Re: [Gambas-user] picturebox

2016-06-12 Thread Shane
I tried that but I get the error Image is read only mypicbox.picture.image = myimage.copy(x,y,width,height) On 12/06/16 22:18, Gianluigi wrote: > Looking for this? > http://gambaswiki.org/wiki/comp/gb.image/image/copy > > 2016-06-12 9:55 GMT+02:00 Shane : > >> I'm trying to display part of an Imag

Re: [Gambas-user] picturebox

2016-06-12 Thread Gianluigi
Looking for this? http://gambaswiki.org/wiki/comp/gb.image/image/copy 2016-06-12 9:55 GMT+02:00 Shane : > I'm trying to display part of an Image in a picture box is this possible i > seem to rember something about no mem to mem copy available ? > > > --

[Gambas-user] picturebox

2016-06-12 Thread Shane
I'm trying to display part of an Image in a picture box is this possible i seem to rember something about no mem to mem copy available ? -- What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patte

Re: [Gambas-user] Picturebox

2010-02-27 Thread Keith Clark
On Sat, 2010-02-27 at 18:23 +0100, Fabien Bodard wrote: > 2010/2/27 Keith Clark : > > I cannot, for the life of me, get a picture box to work. I've googled > > to death and I cannot find an example that works. > > > > Here is what I have so far: > > $Image = Image.Load("/home/keithclark/" & ISBN.t

Re: [Gambas-user] Picturebox

2010-02-27 Thread Fabien Bodard
2010/2/27 Keith Clark : > I cannot, for the life of me, get a picture box to work.  I've googled > to death and I cannot find an example that works. > > Here is what I have so far: > $Image = Image.Load("/home/keithclark/" & ISBN.text & ".jpg") > BookPictureBox.Picture.Image = $Image you can't set

[Gambas-user] Picturebox

2010-02-27 Thread Keith Clark
I cannot, for the life of me, get a picture box to work. I've googled to death and I cannot find an example that works. Here is what I have so far: $Image = Image.Load("/home/keithclark/" & ISBN.text & ".jpg") BookPictureBox.Picture.Image = $Image And all I get back is Null Object error.

Re: [Gambas-user] PictureBox not refresh copied image.

2010-01-26 Thread Demosthenes Koptsis
yes Picture.Load works without need of Picture.Refresh. Thanks both of u. 2010/1/26 Benoît Minisini > > Demosthene, > > > > The way I got my picturebox to work is this > > > > PictureBox1.Picture = > > Picture.Load("/usr/share/pixmaps/wicd/wicd-client.png") > > > > so if you could try changing

Re: [Gambas-user] PictureBox not refresh copied image.

2010-01-25 Thread Benoît Minisini
> Demosthene, > > The way I got my picturebox to work is this > > PictureBox1.Picture = > Picture.Load("/usr/share/pixmaps/wicd/wicd-client.png") > > so if you could try changing your code to this: > > ... Yes, Picture[...] actually loads the picture into an internal cache that is never autom

Re: [Gambas-user] PictureBox not refresh copied image.

2010-01-25 Thread Dimitris Anogiatis
Demosthene, The way I got my picturebox to work is this PictureBox1.Picture = Picture.Load("/usr/share/pixmaps/wicd/wicd-client.png") so if you could try changing your code to this: '

[Gambas-user] PictureBox not refresh copied image.

2010-01-25 Thread Demosthenes Koptsis
Hi i have a PictureBox and load a picture a.png delete a.png copy b.png as a.png to same place load the new a.png (which is b.png only name is same as before) but PictureBox keeps the old image the first a.png! what am i doing wrong? try this code PUBLIC SUB Button1_Click() DIM s1 AS String

Re: [Gambas-user] PictureBox problem (Gambas3)

2010-01-15 Thread kobolds
I found the problem . sorry it's my fault . I mess up some code while try to rewrite my program in gb2 to gb3. Benoît Minisini wrote: > >> I having strange problem with PictureBox to display image. >> >> if I choose the image from picturebox properties , the image show up but >> when I do i

Re: [Gambas-user] PictureBox problem (Gambas3)

2010-01-15 Thread Benoît Minisini
> I having strange problem with PictureBox to display image. > > if I choose the image from picturebox properties , the image show up but > when I do it from program , the picture not showing . > > in the program I do this > picturebox1.picture = picture[application.path & "/image/back.png"] > >

Re: [Gambas-user] PictureBox problem (Gambas3)

2010-01-14 Thread Bill Richman
Make sure you aren't ending up with two /'s between the path and the filename when you concatenate them with &. Also, do the ones that work (or the ones that don't) have something in common in terms of the filename? Maybe something to do with the length of the filename, or special characters

Re: [Gambas-user] PictureBox problem (Gambas3)

2010-01-14 Thread kobolds
I try your suggestion and this time error show up ("unable to load image") when i run . I have few image (png) in that folder with same size . I try few of them and found that some ok but some not . I can load the all the image from the picturebox properties without any problem is this a bugs

Re: [Gambas-user] PictureBox problem (Gambas3)

2010-01-14 Thread Bill Richman
Have you tried: picturebox1.Picture = Picture.load(application.path & "/image/back.png") If only part of your picture is showing, try setting the "stretch" property of the Picturebox control to "True". Bill Richman - Lincoln, Nebraska Tilter at windmills, maker of pies in the sky, & curmudgeon

[Gambas-user] PictureBox problem (Gambas3)

2010-01-14 Thread kobolds
I having strange problem with PictureBox to display image. if I choose the image from picturebox properties , the image show up but when I do it from program , the picture not showing . in the program I do this picturebox1.picture = picture[application.path & "/image/back.png"] I found out tha

Re: [Gambas-user] PictureBox background

2008-10-11 Thread Georg Lassnig
Am Samstag 11. Oktober 2008 22:05:38 schrieb Benoit Minisini: > On samedi 11 octobre 2008, Georg Lassnig wrote: > > Dear Community! > > > > I have a queston about the PictureBox. > > > > Is it possible to make the PictureBox background transparent? > > > > To Benoit Minisini > > Or is it planed in

Re: [Gambas-user] PictureBox background

2008-10-11 Thread Benoit Minisini
On samedi 11 octobre 2008, Georg Lassnig wrote: > Dear Community! > > I have a queston about the PictureBox. > > Is it possible to make the PictureBox background transparent? > > To Benoit Minisini > Or is it planed in the future to implemend for the the PictureBox? > > Regards > Georg Lassnig > >

[Gambas-user] PictureBox background

2008-10-11 Thread Georg Lassnig
Dear Community! I have a queston about the PictureBox. Is it possible to make the PictureBox background transparent? To Benoit Minisini Or is it planed in the future to implemend for the the PictureBox? Regards Georg Lassnig Sorry for my bad english! ---