以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 我想做个按钮,可以再代码前面添加 单引号的。可以么? (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=53147) |
-- 作者:jinzhengbe -- 发布时间:2014/7/1 2:10:00 -- 我想做个按钮,可以再代码前面添加 单引号的。可以么? 我想做个按钮,可以再代码前面添加 单引号的。可以么?
假设窗口有个 checkbox 如果按钮被选中 则下面这段代码有效
Dim Cols1() As String = {"costPrice","color","weight","length","eng_name","pic","cn_name","width","gongxiang","isCheck","mu","lei","addtime","ccc"} 反之 ‘Dim Cols1() As String = {"costPrice","color","weight","length","eng_name","pic","cn_name","width","gongxiang","isCheck","mu","lei","addtime","ccc"}
可以实现么? |
-- 作者:Bin -- 发布时间:2014/7/1 8:37:00 -- if e.form.contols("checkbox1").Checked then 代码1 \'选中时执行 else 代码2 \'不选中时执行 end if |