• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 354
  • Last Modified:

VB.net "control does not support background color"

Hi. I have the following code in a VB.net version of http://www.codeproject.com/Articles/24005/Resizable-Moveable-Customizable-Borderless-Form
and need to alter things to get a background image with a Transparent color, but
I get the following error: "control does not support background color"

   Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()

        ' Add any initialization after the InitializeComponent() call.
        FormBorderStyle = FormBorderStyle.None


        BackColor = Color.Transparent

        BackgroundImage = My.Resources.BackBlue

        DoubleBuffered = True
        Opacity = 0.9
    End Sub
0
Murray Brown
Asked:
Murray Brown
1 Solution
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks very much
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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