Picture Property & Mouse Movement

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
 
S

scott

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?
 

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