increase and decrease a number with one


    Jun 18 2011 | 10:34 am
    Hi,
    I would like to increase and decrease a number with one by clicking an "increase" and a "decrease" button.
    In order to avoid stack overflow, then I need to do some magic ... can anyone help me with this?
    Perhaps the below patch is a good start, but I don't seem to be able to figure it out ...
    Thanks for your help!
    K.

    • Jun 18 2011 | 11:19 am
      Many solutions. I.e this:
      `
      also you might take a look at [counter]
    • Jun 18 2011 | 12:31 pm
      How nice! ... sometimes life is more simple than you would think :-)
    • Jun 18 2011 | 12:53 pm
      There is also the [incdec] object.
    • Jun 18 2011 | 12:53 pm
      What's wrong with [incdec]?
    • Jun 18 2011 | 1:13 pm
      Nothing wrong about [incdec] !!! I think he is a very pleasant fellow ;)