Translucent form in form

ipalalan
03-12-2006, 03:45 PM
I need to add a form to a form and then apply transparency and opacity to it.

When I try this it adds the form but I have no control over what I need.

Does anyone know how to do this.

Thanks in advance.


Dim Frm As New Form2
Frm.TopLevel = False
Me.Controls.Add(Frm)
Frm.Show()
Frm.Opacity = 50
Frm.BringToFront()

Iceplug
03-12-2006, 03:56 PM
Well, opacity is expressed as an actual decimal percentage, not a percentage without the % sign...

50% is 0.5, not 50. :)

But, if I recall correctly, you can't have translucent forms (along with other form properties) as a MDI child.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum