Picture

  • Thread starter Thread starter Rado
  • Start date Start date
R

Rado

Hello.
In picturebox I have loaded some picture

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

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

Picturebox.image = nothing

Ken
----------------------------
Hello.
In picturebox I have loaded some picture

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

It's ok. But Have can I cancel Image from picturebox.
Thanks.
 
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.
 
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.


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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top