Mouseover invisble objects

Talk about your favorite PC games, Steam and building awesome custom rigs!

Moderator:Moderators

Post Reply
User avatar
ghosstt
Senior Member
Posts:1551
Joined:Mon Feb 26, 2007 4:14 pm
Mouseover invisble objects

Post by ghosstt » Sun Feb 01, 2009 2:55 pm

VB.NET

I have a menu strip that I want to be invisible until you mouse over it, and it shows up. Here's the code that SHOULD work.

Code: Select all

 Private Sub Menu_MouseEnter(ByVal sender As Object, ByVal e As System.EventArgs) Handles Menu.MouseEnter
        MessageBox.Show(" ")
        Menu.Visible = True
    End Sub
(message box for debug purposes)

Now, when I set the menu to visible = false, said code doesn't work. I'm assuming since it's not visible, it disregards any code associated with it. Any ideas how to fix it?

User avatar
jdmlight
Posts:795
Joined:Thu Dec 27, 2007 11:17 pm
Steam ID:jdmlight
Location:A boring suburb of Chicago.

Re: Mouseover invisble objects

Post by jdmlight » Sun Apr 18, 2010 12:28 am

Please look at the last post's date before replying. This was almost a year ago. Please don't bump old threads.
--John (and please call me John, it's really weird to be called by my username)
Fight MS Paint abominations! If you don't have a camera, go here, and pick something 3 megapixels or higher.

Post Reply