Constraining the pointer within a group

Ken Ray kray at
Sun Nov 10 14:31:01 EST 2002

The other possibility is that you'll get a mouseRelease when the mouse comes
up outside the hit area of the button. You could check the location of the
mouse at that time, and if it's within a few pixels of the original target,
you could run your "hit" code anyway..

Just my $0.03*,

Ken Ray
Sons of Thunder Software
Email: kray at
Web Site:

* $0.02 adjusted for inflation ;-)

----- Original Message -----
From: "Gary Rathbone" <gary.rathbone at>
To: <use-revolution at>
Sent: Sunday, November 10, 2002 6:45 AM
Subject: RE: Constraining the pointer within a group

> I've had a similar problem with 'Adult returners', who, in the act of
> clicking, moved the mouse outside the boundary of the button. Depending on
> the layout of the screen constraining the mouse might not solve the
> as the 'mousedown' may be in one button area and the 'mouseup' (after
> moving) occur in another.
> For our 'tests' we scripted the buttons to respond on a 'Mousedown'? This
> means any movement after the 'click' is irrelevant.
> Hope this helped.
> Regards
> Gary Rathbone BSc MBCS
> Chartered Information Systems Practitioner
> --------------------------------------------------------------------------
> -----
> I have been working on assessment tools for people with learning
> disabilities.  Sometimes they also have motor skills problems.
> I ask them to rate something using a scale made up of adjacent buttons
> behave like radio buttons, but offers a bigger target.  Sometimes the act
> clicking by users nudges the pointer off the button group so the mouseup
> not registered.  Since I am timing responses, this is a real pain, to say
> nothing of the frustration caused to the user.
> I am thinking of trying to constrain the pointer so it cannot move out of
> the
> rating scale area until a rating has been made.  Before I start to
> experiment, has anyone any suggestions or advice?
> Thanks
> Best wishes,
> David Glasgow
> Home/ forensic assessments --> <A
> DVGlasgow </A>
> Courses --> <A HREF="">i-Psych</A>
> _______________________________________________
> use-revolution mailing list
> use-revolution at
> _______________________________________________
> use-revolution mailing list
> use-revolution at

More information about the Use-livecode mailing list