[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Event MouseMove


Il 19/03/24 19:18, T Lee Davidson ha scritto:
And, to be even more clear [ 😉 ], the Tracking property, of whatever
control for which one wishes to track mouse movements, should be set
True, whether it be a Form or a Control.


:-D

and, answering a private question, something like that?

Public Sub Form_Open()

  Timer1.Enabled = True

End

Public Sub Form_MouseMove()

  TextBox1.Text = Mouse.X & " : " & Mouse.Y

End


Public Sub Timer1_Timer()

  If Mouse.Inside(Me) Then
  Else
    TextBox1.Text = Mouse.ScreenX & " : " & Mouse.ScreenY
  Endif

End

Public Sub Form_Close()

  Timer1.Stop

End

Regards
Gianluigi


Follow-Ups:
Re: Event MouseMoveGianluigi <gradobag@xxxxxxxxxxx>
References:
Event MouseMove"Mayost Sharon" <sharon@xxxxxxxxx>
Re: Event MouseMoveGianluigi <gradobag@xxxxxxxxxxx>
Re: Event MouseMoveGianluigi <gradobag@xxxxxxxxxxx>
Re: Event MouseMoveT Lee Davidson <t.lee.davidson@xxxxxxxxx>