Enable Disable Dropshadow With Checkbox

If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
11 posts Page 2 of 2
Contributors
User avatar
MrAksel
C# Coder
C# Coder
Posts: 1758
Joined: Fri Mar 26, 2010 12:27 pm

What do you mean Mike? Add the code below to the form you want to change the shadow state. In Form2 you can then do "Form1.SetShadowEnabled(True)" (or false)
Code: Select all
Public Sub SetShadowEnabled(ByVal EnableShadow As Boolean)
   Shadow = EnableShadow
   RecreateHandle()
End Sub
LMAOSHMSFOAIDMT
Laughing my a** of so hard my sombrero fell off and I dropped my taco lmao;


Over 30 projects with source code!
Please give reputation to helpful members!

Image
Image
11 posts Page 2 of 2
Return to “Coding Help & Support”