3.2.0

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
January 28,
You should return 'true' (or any non-zero value) to cancel the default event handler

obj.onKeyLeft = function(event){
// ...
return true;
}
Alex (ActiveWidgets)
January 28,
Thank you very much. Again, regards from me and all your fans for the Safari support.
Eric Juvet
January 28,

This topic is archived.

See also:


Back to support forum