View Single Post
  #1 (permalink)  
Old 06-10-2007, 05:12 PM
live91wnba
Posts: n/a
[SOLVED] visual basic programming?

I'm trying to do an eventHandler for my yahtzee program. When the user clicks a dice I want a label under it to display "hold." This is the procedure I wrote:

Sub dice_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles pic1.Click, pic2.Click, pic3.Click, pic4.Click, pic5.Click
If pic1.Click Then
Me.Label1.Text = "Hold"
End If
End Sub

A blue line shows up under pic1.click and says I need a raise event procedure or something. What am I doing wrong?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!