3.2.0

UI.List simple question

I have a list object such as this:

var a =['a','b','c']

listObj = new AW.UI.List;
listObj.setId("myList");

for (i=0;i<a.length;i++) {listObj.setItemText(a[i],i)}
listObj.setItemCount(a.length);

What can I add so that a function is called when the user presses
the Enter key? listObj.onKeypressed . . . ?



Eric Juvet
April 14,
listObj.onKeyEnter = function(event){...}

http://www.activewidgets.com/aw.system.control/control-keyboard-events.html

Alex (ActiveWidgets)
April 16,

This topic is archived.

See also:


Back to support forum