Re: [Gambas-user] PictureBox1.Picture.Clear doesn't seem to work

2010-02-22 Thread Benoît Minisini
> OK, thanks. That works. > Isn't Picture.Clear supposed to do the same thing? > Not really: it clears the Gambas picture object, but not the internal picture affected to the picture box. The only control property that modify the control accordingly is the Font property. Regards, -- Benoît

Re: [Gambas-user] PictureBox1.Picture.Clear doesn't seem to work

2010-02-22 Thread nelsonhoover
OK, thanks. That works. Isn't Picture.Clear supposed to do the same thing? Bugzilla from gam...@users.sourceforge.net wrote: > >> I have a picture box with an image loaded and I'd like to clear it. >> Here's what I'm trying: >> >> PictureBox1.Picture.Clear >> PictureBox1.Picture.Flush >> Pict

Re: [Gambas-user] PictureBox1.Picture.Clear doesn't seem to work

2010-02-22 Thread Benoît Minisini
> I have a picture box with an image loaded and I'd like to clear it. > Here's what I'm trying: > > PictureBox1.Picture.Clear > PictureBox1.Picture.Flush > PictureBox1.Refresh > > It doesn't work. Am I missing something? > I'm using Gambas 2.13. PictureBox1.Picture = NULL ? -- Benoît Minisini

[Gambas-user] PictureBox1.Picture.Clear doesn't seem to work

2010-02-22 Thread nelsonhoover
I have a picture box with an image loaded and I'd like to clear it. Here's what I'm trying: PictureBox1.Picture.Clear PictureBox1.Picture.Flush PictureBox1.Refresh It doesn't work. Am I missing something? I'm using Gambas 2.13. -- View this message in context: http://old.nabble.com/PictureBox1