:: Forum >>
change tab behavior
The default behavior for a List control is KeyLeft=KeyUp and KeyRight=Keydown.
It would like to change it so that KeyLeft behaves like Shift-Tab, and KeyRight behaves like Tab.
How would I do that? I tried adding a onKeyLeft/onKeyRight but it behaves strangely as the control is still trying to use these keystrokes.
Eric Juvet
Monday, January 28, 2008
You should return 'true' (or any non-zero value) to cancel the default event handler
obj.onKeyLeft = function(event){
// ...
return true;
}
Alex (ActiveWidgets)
Monday, January 28, 2008
Thank you very much. Again, regards from me and all your fans for the Safari support.
Eric Juvet
Monday, January 28, 2008
This topic is archived.
Back to support forum
Forum search