Foxtable(狐表)用户栏目专家坐堂 → 不能灵活设置事件问题


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

主题:不能灵活设置事件问题

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


加好友 发短信
等级:贵宾 帖子:35433 积分:178524 威望:0 精华:3 注册:2013/3/30 16:36:00
  发帖心情 Post By:2015/5/9 13:27:00 [显示全部帖子]

这些都能自行编码实现

1.  datecolchangeing 事件
if e.datacol.name="第一列" then
      if System.Text.RegularExpressions.Regex.isMatch(e.newValue,"[a-zA-Z]{1}[0-9]{4}")=false then
        e.cancel=true
      end if
end if

2.BeforeSelRangeChange 事件

If e.NewRange.ColSel= e.Table.Cols("第二列").Index Then
  e.Cancel=True
End If

 回到顶部