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: [EMAIL PROTECTED] Web Site: http://www.sonsothunder.com/ * $0.02 adjusted for inflation ;-) ----- Original Message ----- From: "Gary Rathbone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 problem > 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 which > behave like radio buttons, but offers a bigger target. Sometimes the act of > clicking by users nudges the pointer off the button group so the mouseup is > 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 HREF="http://members.aol.com/dvglasgow/"> > DVGlasgow </A> > Courses --> <A HREF="http://www.i-Psych.co.uk">i-Psych</A> > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > > > _______________________________________________ > use-revolution mailing list > [EMAIL PROTECTED] > http://lists.runrev.com/mailman/listinfo/use-revolution > _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
