If Command1.Caption = "链早连接" Then Command1.Caption = "吵猛断开棚碰雀" Else Command1.Caption = "连接"
比如这个按钮蠢缓的那么为绝咐btnCon 点击是在事件中带宏模写 if btnCon.caption="连接" thenbtnCon.caption="断开"elsebtnCon.caption="连接"end if