Hi, Jeff-
Jeff Schiller wrote:
|
| Quick question: Is there any way to set the mouse cursor position?
No, there is no way to do that. The idea has been floated in various
circles, but there are security issues that would need to be resolved, for
one thing. (Example: moving the cursor to the "Ok" button for the dialog
that asks if you want to download the virus du jour... ;)
| I'm working on expanding my SVG drag library and I'd like the ability
| to constrain drags in a particular direction (only be able to drag a
| slider left/right, not up/down, for instance).
|
| However, I seem to have no control over what the cursor does. If
| there's no way to set the cursor position, I can just have it so the
| dragged element only moves in that direction, but preferably I'd like
| to constrain the mouse coordinates while the drag occurs.
I have a lousy workaround for you. Create your own "drag cursor" that you
update with script to follow the dragging action, and set the real cursor to
"none". This will work in FF or ASV6pr1, but not ASV, which doesn't let you
set the cursor.
Regards-
Doug
[EMAIL PROTECTED]
www.vectoreal.com ...for scalable solutions.
-
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/