> 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
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
> 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
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