以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  如何更换ListView的当前行  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=186426)

--  作者:xluoping
--  发布时间:2023/4/28 11:24:00
--  如何更换ListView的当前行

With Tables("员工")
     If .Current IsNot Nothing AndAlso .Current.DataRow.RowState = DataRowState.Unchanged Then \'如果当前行未曾修改
        .Position = .Position + 1
    End If

End
With


在表中我们可以用Position更换当前行,那ListView如何更换当前行?


--  作者:有点蓝
--  发布时间:2023/4/28 11:30:00
--  
http://www.foxtable.com/webhelp/topics/2861.htm