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.