Foxtable(狐表)用户栏目专家坐堂 → 窗口按键的标题可否动态显示?


  共有12507人关注过本帖树形打印复制链接

主题:窗口按键的标题可否动态显示?

帅哥哟,离线,有人找我吗?
don
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:八尾狐 帖子:1812 积分:12993 威望:0 精华:14 注册:2008/10/11 18:07:00
  发帖心情 Post By:2012/1/21 12:03:00 [显示全部帖子]

Dim cl as Col = Tables("表名").Cols("锁定")
Dim bn as Boolean =cl .AllowEdit
e.sender.text = iif(e.sender.text ="未锁定","已锁定","未锁定")
e.sender.BackColor = iif(e.sender.BackColor =Color.Red,Color.Green,Color.Red)
cl.AllowEdit = Not bn


 回到顶部