vb 单击按钮后文本框内容改变

2024-11-16 18:26:09
推荐回答(2个)
回答1:

sub command1_click()
static flag as boolean
flag = not flag
text1.text = iif(flag,"11","22")
end sub

回答2:

text1.text="11"
sub command1_click()
text1.text="22"
end sub

你是要的这个吗?