Foxtable(狐表)用户栏目专家坐堂 → 请教用ListView导航问题


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

主题:请教用ListView导航问题

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


加好友 发短信
等级:超级版主 帖子:109489 积分:557107 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2023/8/25 10:30:00 [显示全部帖子]

ListView的RowActivate事件处理

Dim lvw As WinForm.ListView = e.Form.Controls("ListView1")
Dim 
vr As WinForm.ListViewRow = lvw.Current '获取ListView的当前行
If 
vr Is Nothing Then '如果不存在当前行,也就是内有选定任何一行
    Return
End If
Forms(vr.text).open()
MainTable = Tables(
Forms(vr.text).TableName)

 回到顶部