up_btn.onPress = function() {//上滚按钮_txt.scroll--;//文本框实例名_txt};down_btn.onPress = function() {//下滚按钮_txt.scroll++;};
一个按钮就可以 为什么要用两个?