Foxtable(狐表)用户栏目专家坐堂 → 扫完第一个编码后可以重头接着扫描另一个再保存


  共有1952人关注过本帖平板打印复制链接

主题:扫完第一个编码后可以重头接着扫描另一个再保存

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


加好友 发短信
等级:超级版主 帖子:107304 积分:545781 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2017/11/25 10:28:00 [只看该作者]

编码keydown事件
if e.keycode = 13 then
e.form.controls("Table1").table.position = 0
endif

流水号keydown事件
If e.keycode = 13 Then
    Dim t As Table = e.form.controls("Table1").Table
    If t.Position = t.Rows.Count - 1 Then
        msgbox("已经是最后一行")
        Return
    End If
    e.cancel = True
    e.sender.writevalue
    e.sender.Select
    t.position = t.position+1
End If

 回到顶部
总数 20 1 2 下一页