Drag/Move Cursor?
David Glasgow
david at dvglasgow.wanadoo.co.uk
Fri Oct 30 14:54:51 EDT 2009
On 30 Oct 2009, at 1:14 pm, Rick Harrison wrote:
> I've been trying to figure out how to programmatically
> move/drag the cursor in a stack to mimic what a human
> would do, as a teaching aid. The documentation is not
> very clear on how to accomplish this.
I have done a fair bit of mucking around moving and constraining the
cursor. It can get a bit ugly, tricky, disturbing for the user and
deprecated by user interface purists. Much better to hide the cursor
(set the cursor to none) and then show a fake cursor which you can
move between two points or along a path as you would with any
object. You can even colour the teaching cursor to indicate that
this is showing the user something and so won't be responsive to
mouse movements.
David Glasgow
More information about the use-livecode
mailing list