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 >> PictureBox1.Refresh >> >> It doesn't work. Am I missing something? >> I'm using Gambas 2.13. > > PictureBox1.Picture = NULL ? > > -- > Benoît Minisini > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Gambas-user mailing list > Gambas-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/gambas-user > > -- View this message in context: http://old.nabble.com/PictureBox1.Picture.Clear-doesn%27t-seem-to-work-tp27695403p27697464.html Sent from the gambas-user mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user