473,666 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opacity

Jm
Hi All

Im wondering if theres is a way to make a form object the only thing thats
becomes opaque when you modify the opacity. So if i have labels and a
picturebox can i make them non opaque whilst still making the form opaque.
Im trying to design a splash screen. Thanks
Nov 21 '05 #1
4 2038
One way of doing this would be to set the backcolor of the form to an color
with an alpha level. Since this is a splash screen you could then set the
forms style to one that has no border or titlebar.

Robby

"Jm" <ja*****@ihug.c om.au> wrote in message
news:cr******** **@lust.ihug.co .nz...
Hi All

Im wondering if theres is a way to make a form object the only thing thats
becomes opaque when you modify the opacity. So if i have labels and a
picturebox can i make them non opaque whilst still making the form opaque.
Im trying to design a splash screen. Thanks

Nov 21 '05 #2
Jm
Hi Robby

What do you meam by an color with an alpha level ?

"Robby" <ed****@not.my. email.com> wrote in message
news:uk******** ******@TK2MSFTN GP15.phx.gbl...
One way of doing this would be to set the backcolor of the form to an color with an alpha level. Since this is a splash screen you could then set the
forms style to one that has no border or titlebar.

Robby

"Jm" <ja*****@ihug.c om.au> wrote in message
news:cr******** **@lust.ihug.co .nz...
Hi All

Im wondering if theres is a way to make a form object the only thing thats becomes opaque when you modify the opacity. So if i have labels and a
picturebox can i make them non opaque whilst still making the form opaque. Im trying to design a splash screen. Thanks


Nov 21 '05 #3

The alpha of a color sets its transparency level. 255 is completely opaque
and 0 is completely transparent. You can set the alpha on an existing color
using the shared Color.FromArgb method. For example in the form

Me.BackColor = Color.FromArgb( 127, SystemColors.Co ntrol)

will set the backcolor of the form to a halfway transparent color of the
system's control color.

Robby
"Jm" <ja*****@ihug.c om.au> wrote in message
news:cr******** **@lust.ihug.co .nz...
Hi Robby

What do you meam by an color with an alpha level ?

"Robby" <ed****@not.my. email.com> wrote in message
news:uk******** ******@TK2MSFTN GP15.phx.gbl...
One way of doing this would be to set the backcolor of the form to an

color
with an alpha level. Since this is a splash screen you could then set
the
forms style to one that has no border or titlebar.

Robby

"Jm" <ja*****@ihug.c om.au> wrote in message
news:cr******** **@lust.ihug.co .nz...
> Hi All
>
> Im wondering if theres is a way to make a form object the only thing thats > becomes opaque when you modify the opacity. So if i have labels and a
> picturebox can i make them non opaque whilst still making the form opaque. > Im trying to design a splash screen. Thanks
>
>



Nov 21 '05 #4
Hi,

Here are some links on making irregularily shaped forms.

http://msdn.microsoft.com/library/de...lStudioNET.asp

http://msdn.microsoft.com/msdntv/epi...H/manifest.xml

http://www.windowsforms.com/Samples/...179&tabindex=4

Ken
--------------------------
"Jm" <ja*****@ihug.c om.au> wrote in message
news:cr******** **@lust.ihug.co .nz...
Hi All

Im wondering if theres is a way to make a form object the only thing thats
becomes opaque when you modify the opacity. So if i have labels and a
picturebox can i make them non opaque whilst still making the form opaque.
Im trying to design a splash screen. Thanks

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4776
by: Dean Edwards | last post by:
I am attempting to change the opacity of an image. I can modify opacity ok: function flip(pic, opacity){ pic.style.filter = 'alpha(opacity='+opacity+')'; } But I'm not familiar with javascript. How can I read the existing opacity value?
0
3910
by: kaeli | last post by:
All, The following is an example of what I'm trying to do: I have a box set to be partially transparent. I want the text in the box to NOT be partially transparent. This works in IE, but NN7 has the text still at 75% opacity. Can anyone tell me what I'm doing wrong? TIA. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
3
10217
by: Marek Mänd | last post by:
This posting will express my concern about the future of css3 forthcoming recommendation. I think for long time now, that the current implementation of CSS attribute opacity is less than usable in practical real life situations. The soon forthcoming CSS3 recommendation does not serve the public interests in this area not at all. The problem relies in the definition what opacity is, how it is to applied to page elements. In past 5...
6
3715
by: Robert A. Boudra | last post by:
As you will probably guess, I'm just starting out with VB.net although I'm a long time VB developer. I was playing around with the Opacity property of a form and have found that I can set the property at design time or in code just fine, but as soon as I move the form to a new location on the screen, it becomes completely opaque. If I then try to set the opacity property again, I get an error message. Any idea what's going wrong? Bob
1
2630
by: mhoeneveld | last post by:
I am writing a small script to fade the opacity of an image/object. The script itself works fine only I do have some unwanted behaviour. I do use a tablecell object and the mouseover/mouseout to activate the script. In the same cell are some links listed and when you move the cursor over the links the image starts to flicker. This is because of the getElementById that identifies each link as an object. Anyone knows how I can solve...
2
2343
by: reidarT | last post by:
I want a windows form to act like the one in Outlook when you get a new message and it is visible for about a couple of seconds and then the opacity decreases and the form dissapears in the end I have tried with Dim p As Integer Dim Vent As Integer For p = 100 To 0 Step -1 Me.Opacity = p For Vent = 1 To 100000
16
2952
by: Darko | last post by:
Hi, I'm trying to get and set an element's opacity, but I'm stuck with, what a hell of surprise, Internet Explorer. As for getting the element's opacity, I have the following (not working) lines of code: if ( targetObject.filters && targetObject.filters.length 0 ) opacity = targetObject.filters.item("DXImageTransform.Microsoft.Alpha").Opacity;
15
3711
by: Sunny | last post by:
Hi, I can change the lement opacity in IE using. abc.style.filter = 'alpha(opacity=' + 10 + ')'; But this dont work in firefox, In firefox it throws error. How I can change the opacity of an element in Firefox.
0
8454
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8785
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8644
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7389
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6200
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5671
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2776
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2012
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1778
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.