change button color on mouseover in visual basic

Discussion in 'Programming' started by Greenmethod, Mar 6, 2009.

  1. #1
    Is there a way to do this? i've looked on the net and cant seem to find it. this is what i have...

      Private Sub btnPawns_MouseMove(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPawns.Click
            Me.btnPawns.BackColor = Color.DarkGreen
        End Sub
    Code (markup):
    nevermind, i found it... is there a way to delete the post?
     
    Greenmethod, Mar 6, 2009 IP
  2. Greenmethod

    Greenmethod Peon

    Messages:
    112
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    When i click on it, it changes to dark green, but before i had btnPawns_onFocus
     
    Greenmethod, Mar 6, 2009 IP