Wrox Programmer Forums
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 3rd, 2004, 12:30 AM
Registered User
Join Date: Aug 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to Mosquito109
Default Transparent Question

I have a program that uses background images for each form. I also have panels and groupbox's throughout the program which I set their backcolor = color.transparent when the form(s) load. When I use the manifest file to give it the XP look, I set the panels/groupbox's flatstyle to system. However, my code gets an error once I do this. It says that "this control does not support the transparent property" (something very similar). It works fine as long as I don't set the flatstyle to system. Doesn't XP support transparent backgrounds? Isn't there a way to set the flatstyle to system and still be able to set the transparency of panels/groupbox's for background images to show through?

I've tried to search for this topic with Google, MSN, and Yahoo but didn't find any answers.

here is my sample code:
'Form Load Event
groupbox1.flatstyle = flatstyle.system
groupbox1.backcolor = color.transparent

When I run the program I get this error:
"Error - This control does not support the transparent property"
I can get the exact error if that will help.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparent Label morteza57 C# 5 February 15th, 2008 04:36 PM
Transparent Encryption Abbas Classic ASP Professional 2 July 31st, 2006 02:04 PM
Transparent Picturebox philip1981 General .NET 0 August 31st, 2005 08:08 AM
Transparent boxes patwadd Classic ASP Basics 0 February 1st, 2005 08:43 AM
transparent subforms Raif Access 3 June 8th, 2004 03:49 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.