3.0.5

Retrieving index of the tab when 'onKeyEnter'

OnKeyEnter has the following syntax: {obj}.onKeyEnter = function(event){...};
onItemClicked has the following syntax: {obj}.onItemClicked = function(event, index){...};

How do I retrieve the index of a tab when I pressed enter!?

I would have expected this: {obj}.onKeyEnter = function(event,index){...}; to work and let me have the new index but that did not work.
I also tried {obj}.getTabIndex(); (conform this article: http://www.activewidgets.com/aw.system.control/tab-index.html ) but this always returns 0.

Wim
September 12,
HA!

this.getCurrentItem()

works :)

Sorry for the trouble.
Wim
September 12,

This topic is archived.

See also:


Back to support forum