[jawsscripts] Re: how would peoplehandle this

  • From: "David Farough" <David.Farough@xxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 02 Mar 2009 10:14:40 -0500

This would work ok except that you need to determine in which direction
you are moving.  In FocusChangedEvent you are passed the handle of the
current window and the handle of the previously focussed window.  So you
would need to determine based on this information which direction you
are moving before setting the focus to the appropriate control.

Another way to handle this would be to create versions of the tabKey
and shiftTabKey  functions  for your application.  This way you do not
need to be concerned about direction.  Be sure to invoke the default
versions of these functions when your conditions are not satisfied.

David Farough
Application Accessibility Coordinator/coordonateur de l'accessibilité 
Information Technology Services Directorate /
Direction des services d'information technologiques
Public Service Commission / Commission de la fonction publique
Email / Courriel:  David.Farough@xxxxxxxxxxxxx
Tel. / Tél:    (613) 992-2779 

>>> "Sean Randall" <seanr@xxxxxxxxxxxxxxx> 09:49 am Saturday, February
28, 2009 >>>
Sean,

Might you not add something to FocusChangedEvent so that whenever you
land
on one of those controls you're moved to the next appropriate one?  

Sean.
-----Original Message-----
From: jawsscripts-bounce@xxxxxxxxxxxxx 
[mailto:jawsscripts-bounce@xxxxxxxxxxxxx] On Behalf Of Sean Farrow
Sent: Saturday, February 28, 2009 9:50 AM
To: jawsscripts@xxxxxxxxxxxxx 
Subject: [jawsscripts] how would peoplehandle this

Hi: 
I have a situation where with in the tab order of an application I'm
scripting, ther are two controls tha gain focus that don' mean
anything,
there containers. Ideally what I want to do is skip these two
controls.
What is thebest way of doing this? 
Cheers
Sean.
__________ 
Visit and contribute to The JAWS Script Repository
http://jawsscripts.com 

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts 

__________ 
Visit and contribute to The JAWS Script Repository
http://jawsscripts.com 

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts 

__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: