Label Mousemove Procedure

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Do anyone know of a procedure to change the forecolor of a label control
during a mousemove event.

I would like the lable's forecolor to change when I move my mousepointer
over it.
 
Tru said:
Do anyone know of a procedure to change the forecolor of a label control
during a mousemove event and to change back to the original forecolor of the label.

I would like the lable's forecolor to change when I move my mousepointer
over it.
 
Right Click on label go to build event and paste this code make sure that you
change the label name where its "Label80".. Also change the color you want ie
lngyellow or lngred or lngblue etc

Private Sub Label80_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Label80.ForeColor = lngred
End Sub

Madhuri
 
Back
Top