How can I set PictureBox.BackGroundImage = Nothing via code?

  • Thread starter Thread starter Christian Blackburn
  • Start date Start date
C

Christian Blackburn

Hi Gang,
I would like to remove the BackGroundImage from a PictureBox via code can
somebody show me how to do that?
Thank you very much,
Christian Blackburn
 
Christian Blackburn said:
Hi Gang,
I would like to remove the BackGroundImage from a PictureBox via code
can somebody show me how to do that?
Thank you very much,
Christian Blackburn

The answer is in the subject. :-)

mypicbox.backgroundimage = nothing
 
Hi Armin,

I saw it too, but was afraid to answer that after all your discussions (not
with me) about Is nothing and = nothing.

I know comparing with your knowledge about it nothing from Graphics.

So I thought first testing if real nothing goes wrong otherwise I get
comments from Armin.
(Would not bother me, I only am learning from it)

And then I saw your message
"-)))))

Cor
 
Cor said:
I saw it too, but was afraid to answer that after all your
discussions (not with me) about Is nothing and = nothing.

You mean, Nothing used with value types?
I know comparing with your knowledge about it nothing from
Graphics.

Sorry, I don't understand the sentence above. :-/
So I thought first testing if real nothing goes wrong otherwise I
get comments from Armin.
(Would not bother me, I only am learning from it)

And then I saw your message
"-)))))

Sorry again, I also don't understand this. (damned school English... ;-)
 
Hello,

Cor said:
I saw it too, but was afraid to answer that after all your discussions (not
with me) about Is nothing and = nothing.

In this case, we do not _compare_ references, we _set_ them.
 
Armin,
It was nothing important and my English is too not anymore what it was.
And writting German is even more difficult, talking a little bit Rheinlands
goes.

It was not a big thing, just a chit chat about that I was afraid that I
maybe would was give the wrong answer especialy

Because of your a = nothing discussion. I was expecting that when it was
wrong it would be you who would tell me that.

And then came your answer a=nothing and I had to laugh about myself that I
made so much difficulties with it.

Just a chit chat

:-).)

and EOT it is not important
Cor
 
Hi Guys,
Thanks for the help, especially Armin. I tried = vbNothing and when that
didn't work I gave up :). I couldn't remember that VB6 option of
LoadPicture("") however I don't even know if that works in .NET 2003
anyways.

I think what Cor what trying to say was that you know nothing and everything
about nothing. A joke perhaps :).
Cheers,
Christian
 
Back
Top