|
-
Nov 4th, 2003, 04:50 PM
#1
Thread Starter
Fanatic Member
Window transperancy
How would I create a transperant form in VB.NET (enabled through a menu item ?
A.A. Fussy
Babya Software Group
-
Nov 4th, 2003, 07:30 PM
#2
New Member
In the Form's property window. Set property Opacity < 100%.
Or at runtime:
^oops
Last edited by Craigg; Nov 5th, 2003 at 11:52 AM.
-
Nov 5th, 2003, 03:22 AM
#3
the only problem with using Opacity is that all controls on the form will gain the same amount of transparency
~
if a post is resolved, please mark it as [Resolved]
protected string get_Signature(){return Censored;}
[vbcode][php] please use code tags when posting any code [/php][/vbcode]
-
Nov 5th, 2003, 04:32 AM
#4
Frenzied Member
In the Form's property window. Set property Opacity < 100%.
Or at runtime:
visual basic code:--------------------------------------------------------------------------------
me.Opacity = 50
sorry to correct you but its
opacity is a double and works from a range 0.0 to 1.0 thus 0.50 is 50%
-
Nov 6th, 2003, 02:13 AM
#5
Frenzied Member
Originally posted by dynamic_sysop
the only problem with using Opacity is that all controls on the form will gain the same amount of transparency
So he must set a transparent key for the form and set the back color of form to that color. Now an issue arises. If the graphic card supports transparency in 32 bit color, then the controls that have the same back color as the form will be shown transparent but still register mouse, if not the controls would not be shown transparent. However in 16 bit mode they will be shown transparent and don't register mouse. Weird.
'Heading for the automatic overload'
Marillion, Brave, The Great Escape, 1994
'How will WE stand the FIRE TOMORROW?'
Eloy, Silent Cries and Mighty Echoes, The Vision - Burning, 1979
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
|