Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 680
  • Last Modified:

Remove a background image from a control in vb.net in code

A previous posted question asked how to remove a background image on a control using the designer to which the response was highlight all the text in the property for that control and simply delete it. What i am wondering is how to delete the background image of the control using code. Setting the image of the control is simple. control.backgroundimage = image defined....but removing the image isn't so intuitive.  Any help would be great. And if its obvious a joke on my behalf is warranted and ok.
0
kooch83
Asked:
kooch83
2 Solutions
 
VBRocksCommented:
control.backgroundimage = Nothing

1
 
kooch83Author Commented:
I could have sworn that was the first thing i tried.  Ahhh Fiddlesticks. Thanks for the help
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now