Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stop the timer event of the label

Status
Not open for further replies.

mai19ea

Technical User
Nov 26, 2005
31
LY
i have a label set on timer event with time interval 300,
what i need is if my mouse point the label which has timer event the label should stop blinking and when the mouse move away it will return on blinking.


many thanks
 
Would it be possible for you to add a second label surrounding the first but bigger? If so, this may suit:
Code:
Private Sub TimerLabel_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.TimerInterval = 0
End Sub

Private Sub BigLabel_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.TimerInterval = 300
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top