ashkan3030 0 Light Poster

Dear My Friends,

I made an exclusive choice group like this:

choicegroup.append("ADD",null)
choicegroup.append("SUB",null)
(I abstract the codes)

The problem is that I want to say when I click e.g. OK button(commands) it do the adding action if I choose ADD or Subtract if I choose SUB.

What should I do ?,Just tell me the IF BLOCK.

GOOD LUCK ALL.