2005-10-27から1日間の記事一覧

最大文字数でフォーカス移動

こんな感じ <canvas debug="true"> <view> <edittext width="100" maxlength="5"> <method event="onkeyup"> if( this.getText().length == this.maxlength ) { if( Key.getCode() != Key.TAB ) { LzFocus.next(); } } </method> </edittext> <button/> </view> </canvas>これで、5文字入力後にフォーカスが動きます。なかでKey.TABと比較しているのはTABでここにフォーカス…

土日にある程度まで・・・

承認されたみたいなので、頑張るぞ。