0

How does form.addCommand work ? I'm experiencing a problem in that when I create a new form the previous forms commands are added to the new form. Im invoking form.removeallcommands on the new form but to no avail. Has anyone experienced anything similar ?

Thanks

blue-sky
  • 51,962
  • 152
  • 427
  • 752

1 Answers1

0

use form.removeCommand(commandname); another thing is in second form get reference of all commands using previous form object.

Mr. Sajid Shaikh
  • 7,051
  • 4
  • 21
  • 35