Set Picture property to (none)

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

This should be easy:

I want to remove the picture from an image if certain conditions are met.

How do I set the Picture property of an image to (none) - the same as
deleting it using the properties dialog? Null doesn't work, nor does an empty
string.
 
Set the Picture property to "(none)":
Me.ImageControl.Picture = "(none")

Or you can make the Image control invisible in those circumstances.
 
Back
Top