Menu

#1 Set the step size.

open
nobody
None
5
2006-08-18
2006-08-18
No

Allow the user to set the step size instead of ever
user 1 to increase/decrease the value of the box.

Discussion

  • Vinicius Pitta Lima de Araujo

    Logged In: YES
    user_id=950930

    This change in the mouseDownArrow allow stop the infinity
    executeUpdateVal but I don't find a final solution yet.

    CODE:
    //if a PeriodicalExecuter is updating the box value then
    stop it before proceede and create a new PeriodicalExecuter
    if(this.pe) {
    this.pe.stop();
    }
    this.pe = new
    PeriodicalExecuter(function(){spin.executeUpdateVal(box,diff)},
    0.5);

     
  • Vinicius Pitta Lima de Araujo

    Logged In: YES
    user_id=950930

    Sorry! I updated the wrong area. The attached file has the
    setStepSize method.

     
  • Vinicius Pitta Lima de Araujo

    Source changed to allow the user set the setp size.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.