By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,889 Members | 1,258 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,889 IT Pros & Developers. It's quick & easy.

Picture

P: n/a
Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.
Nov 21 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi,

Picturebox.image = nothing

Ken
----------------------------
"Rado" <r-****@szm.sk> wrote in message
news:uk**************@TK2MSFTNGP15.phx.gbl...
Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.

Nov 21 '05 #2

P: n/a
That works in code but how do you cancel an image that has been set using the
properties image at design time. For example, I have a button that I set the
image property to an icon file at design time. Now I've changed my mind and
don't want to use any image in this button. How do you get rid of it? If I
select the properties Image again, there is no option to set it to nothing.
The only way I've found is to just delete the damn thing and start over with
a new button.

"Ken Tucker [MVP]" wrote:
Hi,

Picturebox.image = nothing

Ken
----------------------------
"Rado" <r-****@szm.sk> wrote in message
news:uk**************@TK2MSFTNGP15.phx.gbl...
Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.

Nov 21 '05 #3

P: n/a
>Dennis sat down and scribbled:
That works in code but how do you cancel an image that has been set
using the properties image at design time. For example, I have a
button that I set the image property to an icon file at design time.
Now I've changed my mind and don't want to use any image in this
button. How do you get rid of it? If I select the properties Image
again, there is no option to set it to nothing. The only way I've
found is to just delete the damn thing and start over with a new
button.

"Ken Tucker [MVP]" wrote:
Hi,

Picturebox.image = nothing

Ken
----------------------------
"Rado" <r-****@szm.sk> wrote in message
news:uk**************@TK2MSFTNGP15.phx.gbl...
Hello.
In picturebox I have loaded some picture

picturebox.image.fromfile(......)

It's ok. But Have can I cancel Image from picturebox.
Thanks.

You can select the text in the 'Image' property and hit delete. It will
then revert back to '(none)'.

--
Cheers

Rick
Nov 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.