sub command1_click()static flag as booleanflag = not flagtext1.text = iif(flag,"11","22")end sub
text1.text="11"sub command1_click() text1.text="22"end sub 你是要的这个吗?