I found a quick (and dirty?) fix to this problem:

In 'onKeyDown' handler method of my custom slidebar I do
Selection.setFocus(this) at the end (surrounded by an if() checking
whether the pressed key was one of UP,DOWN,RIGHT,LEFT). This seems to
override the default focus associated action for the arrow keys.

As far as I can see, the only restriction introduced by this solution
is that one cannot navigate through the tabEnabled controls anymore
using the arrow keys. But I believe the TAB / SHIFT+TAB keys are
sufficient for this.

HTH,
stefan.


On 12/5/06, Dave Wood <[EMAIL PROTECTED]> wrote:
Hi Andrew

> Basically, once the slider gains focus, you then use keys to
> control the
> slider position.  The tab key moves the focus away from the slider.
>
> Here's the shortcuts I'd recommend:
> Right arrow and up arrow - increment slider (using right and up allows
> the slider to be vertical or horizontal with no impact on users)
> Left arrow and down arrow - decrement slider
> Ctrl+up and Ctrl+right - large increment
> Ctrl+down and ctrl+left - large decrement
> Home/end - lowest and highest slider positions


Makes perfect sense to me.
How would you prevent the left/right arrow keys from moving the focus
away from the current slider to the next/previous item in tab order?

David
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to