Falseが設定できるのであれば、Trueも・・・。ということで form.command1 = False form.command1 = True form.command1 = Falseと記述し、デバックすると少しは何かわかるかもしれませんよ?