|
-
Jan 24th, 2011, 10:26 AM
#1
Thread Starter
Hyperactive Member
Transparency doesn´t work.
Hi,
I have a form, which has the background color set to the transparency key color. On the form there is a picturebox with transparent backcolor and a picture that is semi transparent.
Unfortunately the transparency doesn´t work. The form shows with a background, but not the background color I chose, but the gray control color. Nothing is transparent.
The EXACT same thing works with another form. Does anyone know whats going on?
Fuga.
Visual Studio 2010 xpress, Visual Studio 2008 pro, SQL Server, SQL Server management studio 2008 r2, MSAccess
-
Jan 25th, 2011, 02:39 AM
#2
Lively Member
Re: Transparency doesn´t work.
Down the bottom of the form properties you will see a property called "Transparency" Set this to the colour you want to become transparent. Then set your forms background colour to this colour also.
Voila! Transparency achieved
EXPERIENCED VB6 CODER
IF YOU SEE ANY FAILURE IN MY CODING, PLEASE LET ME KNOW AS I'VE ONLY JUST STARTED LEARNING VB.NET AND I WILL APPRECIATE ANY HINTS AND TIPS YOU HAVE TO OFFER! 
-
Jan 26th, 2011, 10:57 AM
#3
Thread Starter
Hyperactive Member
Re: Transparency doesn´t work.
Thanks for your reply.
But the thing is I´ve done just that, and it doesn´t work. On the other form, yes, but on this one, no.
Any ideas?
Fuga
Visual Studio 2010 xpress, Visual Studio 2008 pro, SQL Server, SQL Server management studio 2008 r2, MSAccess
-
Jan 27th, 2011, 01:00 AM
#4
Lively Member
Re: Transparency doesn´t work.
Can you create a new form, copy the code and control over and delete the old form?
See if the new forms works?
EXPERIENCED VB6 CODER
IF YOU SEE ANY FAILURE IN MY CODING, PLEASE LET ME KNOW AS I'VE ONLY JUST STARTED LEARNING VB.NET AND I WILL APPRECIATE ANY HINTS AND TIPS YOU HAVE TO OFFER! 
-
Feb 8th, 2011, 07:00 AM
#5
Thread Starter
Hyperactive Member
Re: Transparency doesn´t work.
Hi again,
sorry for the delay and thanks for your help. But unfortunately it doesn´t work, even though I tried to create a new form with the same name, and also with a different name. When renaming it at least the transparency key color is showing. Not transparent though.
Anyone else had this problem?
Fuga.
Visual Studio 2010 xpress, Visual Studio 2008 pro, SQL Server, SQL Server management studio 2008 r2, MSAccess
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|