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