Messages by shappy1978

3 topics, 33 messages
Kuix technical support » problems with textarea: can't display multiple lines show with chinese

that solution is so bad,because the text widget will add a space betweet the chinse.

Kuix technical support » bug of focusedwidget

another question,if the listitem text is too long,can u make it slide from left to right?just like textfield

Kuix technical support » bug of focusedwidget

In my frame,i have a List and tow buton,while click button,i want to get the selected item of the list,xml like that:

<list id="lstAtt"> ....</list>

<button id="btndownload" onAction="test(#lstAtt.focusedwidget)">download</button>

<button id="btnview" onAction="test(#lstAtt.focusedwidget)">view</button>

And the java code:

if("test".equals(identifier)){

Kuix.alert(((Widget)arguments[0]).getId());

}

Test it and u will see that the button's id is alerted!

Can I get the selected listitem of the list?

The choise have value attribute,why the list have not?

I know that it will work if I user menu instead of button,but I will rather like button.