Solved

VB.net "control does not support background color"

Posted on 2012-04-05
2
331 Views
Last Modified: 2012-04-06
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
Comment
Question by:murbro
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
QPR earned 500 total points
ID: 37815253
0
 

Author Closing Comment

by:murbro
ID: 37815300
Thanks very much
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question