Mengya Tang schrieb:
> Hi~~
> 
> 
>       I met a problem when i use QxList, for list i add an eventListener for 
> it as follows :
> 
>        insList.getManager().addEventListener("changeSelection", function(e) {
>               var currentItem = insList.getManager().getSelectedItem();
>               var id = currentItem.getUserData("ID");
>         tCurrentConceptInput.setValue(currentItem.getLabel());
>         });


The changeSelection should IMHO only fire, when the selection will be
changed. This couldn't be done with a simple mousemove. You must click
somewhere. I don't see why this shouldn't work.

Can you please attach an example to your next mail (which runs out of
our demo folder) and shows your problem? Thanks.

Sebastian

> 
>       but the list is so sensitive that whenever i move around the list area 
> without mouse event, it will change the selection by itself, which is of 
> course i do not to happen. When i want to use function QxList_onclick(e) to 
> solve the problem, but it is a pity that this function is private, how can i 
> solve the problem, that is only when i click on list item of this list, then 
> the listener do something i want ?
> 
>       thanks :)
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to