Can the mouse pointer property be set to a cross-hair?

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

Guest

I'm trying to measure points on an image and need to have better control of
the mouse pointer.
 
I'm trying to measure points on an image and need to have better control of
the mouse pointer.

Does this question have anything whatsoever to do with the database
software Microsoft Access? I doubt it...

Perhaps you should repost the question in a newsgroup handling your
imagaing software (whatever that is).

John W. Vinson[MVP]
 
Actually I’m using Access as an image review and education application. In
this application I allow some interactive measurements and the use of the
cross-hair would make the measurement easier to perform. Access has a few
limitations but has proved to be a most suitable method for my need to teach
the desired subject. You seem to put great limitations on the product Access.

Thanks anyway,

ACCESSRAM
 
If everyone posted their questions to any groups that they wanted, we'd
eventually have questions about scuba diving in this newsgroup;
japanese culture in comp.lang.c; Harry Potter in rec.antiques; and so
on, ad infinitum. This newsgroup - as its name suggests - is for
questions about how to design table structures in Access. Questions
about the mouse pointer, bear no relationship to that topic, and are
therefore not "on topic" for this group.

HTH,
TC
 
I am assuming that you are using a PivotChart to display information. I
cannot find any way to change the mouse point, within Access, to a
cross-hair. That would be an excellent feature for the PivotChart to have.
It is possible to hover over certain types of charts, and have the data at
that point (such as a bar) display the values related to that bar.

A work-around may be to use your Control Panel to set the mouse cursor to a
cross-hair (if that is available on your version of Windows).
 
I don't know if this will help but you can add vertical and horizontal lines
to your form. Name them LineX and LineY and set their color to something
like white or yellow. Then add two text boxes txtX and txtY.

Add code to the mouse move of your image control. This assumes your image
control is named Image0.

Private Sub Image0_MouseMove(Button As Integer, Shift As Integer, X As
Single, Y As Single)
Me.LineY.Top = Me.Image0.Top + Y
Me.LineX.Left = Me.Image0.Left + X
Me.txtX = X
Me.txtY = Y
End Sub
 
Actually I’m using Access as an image review and education application. In
this application I allow some interactive measurements and the use of the
cross-hair would make the measurement easier to perform. Access has a few
limitations but has proved to be a most suitable method for my need to teach
the desired subject. You seem to put great limitations on the product Access.

Well, *I* didn't put any limitations on Access. I don't work for
Microsoft; I'm a self-employed consultant, donating my time free of
charge on this newsgroup.

I'm sorry that I was unable to intuit from your brief post that you
were using Access. Image analysis is not the usual purpose of Access;
there are other programs written for that purpose, and I doubt that
they make very good relational database managers.

John W. Vinson[MVP]
 
Duane,
Your solution worked fine and I really appreciate your help.

Thanks,

Robert Muncy
 
Back
Top