Dragging an arrow within a circle and record the mouse coordinates
An Tran
hackerchipvn at gmail.com
Wed Feb 27 06:30:59 UTC 2013
Hi,
I have a circle (a wheel) with an arrow inside and I want the subject to
indicate their response by either (1) dragging the arrow on the wheel or
(2) click on the wheel with possible adjustments
Some of my ideas:
1. rotate the whole image containing the circle and the arrow to the new
position after the mouse click based on the angle between the "old" arrow
and the new arrow
2. draw an arrow (or maybe only a line is enough) and pivot it with the
mouse
in both situations, the mouse coordinates should be logged and I want to
calculate the degree of angle
I don't have any programming background. I know that Eprime is based on VB
so I found some ways to solve the problem with VB, but I don't know to what
extent Eprime and VB are similar.
Can someone give me advice how to solve this?
Thank you very much!
--
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To unsubscribe from this group and stop receiving emails from it, send an email to e-prime+unsubscribe at googlegroups.com.
To post to this group, send email to e-prime at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/e-prime/-/GqfRBwnCQ80J.
For more options, visit https://groups.google.com/groups/opt_out.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.linguistlist.org/pipermail/eprime/attachments/20130226/569fe647/attachment.htm>
More information about the Eprime
mailing list