VB中全局变量ActFlag 作用
来源:百度知道 编辑:UC知道 时间:2024/05/22 16:44:27
定义ACTFLAG为BOOLEAN
可以用他来控制按钮单几基数次和偶数次两个事件
比如
praivate sub command1_click()
if actflag then'也可以是if actflag=true
command1.caption="OK"
else
command2.caption="cannel"
end if
actflag=not actflag
UC知道是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度知道 编辑:UC知道 时间:2024/05/22 16:44:27
定义ACTFLAG为BOOLEAN
可以用他来控制按钮单几基数次和偶数次两个事件
比如
praivate sub command1_click()
if actflag then'也可以是if actflag=true
command1.caption="OK"
else
command2.caption="cannel"
end if
actflag=not actflag