Help with Code: OnMouseDown

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top