4 Replies Latest reply on Apr 16, 2010 11:11 PM by Harry Kunz

    how to increment value on press button hold?

    JaxNa Level 1

      Hi,

       

      when i press on Button and hold down i want to increment  _global.lines

       

      nextline_btn.onPress = function() {
          if (_global.lines<25) {
             _global.lines = _global.lines+1;
              txt_lines.text = _global.lines;
       
      }

       

      Plz help me.

       

      Thanks JaxNa