Picture Property & Mouse Movement

  • Thread starter Thread starter scott
  • Start date Start date
S

scott

In my form's ON CURRENT event, I'm setting an image control to a file path
of a jpg picture with code below. The image displays fine in the form, but
my mouse cursor "jumps" or moves to the middle of the screen. It acts very
much like the Windows mouse "snap to" feature.

I tried to set focus to a control after setting the picture property, but
nothing seems to help.

Anyone else experienced this bug?



CODE *************

Private Sub Form_Current()

pathName = CurrentProject.Path

If Len(Me.artImageName) > 0 Then
Me.imgArt.Picture = pathName & "\images\" & Me.artImageName
Else
Me.imgArt.Picture = ""
End If

End Sub
 
Although I'd still love to here anyone else's input, I tried my form without
the "Windows Mouse Snap To" feature turned on and the problem went away.

Given the fact that the Snap feature auto-hovers over any OK/Cancel dialogs
that the OS or any app displays and given the fact that my form or access
isn't displaying a dialog window, how could this be happening?
 
Back
Top