Help with Code: OnMouseDown

  • Thread starter Thread starter SF
  • Start date Start date
S

SF

Hi,

I have a button (btnNew) with a label (lable01) next to it. I wrote a code
to bold the text in the label when mouse move over it.

Private Sub Command0_MouseDown(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Me.Label1.FontWeight = 800
End Sub

In fact this code work only when I click the button. I want to bold text in
label1 when I mouse mouse pointer over the bottun. Couls some body advice?
 
Back
Top