以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- PictureViewer路径 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=139628) |
-- 作者:yifan3429 -- 发布时间:2019/8/17 16:07:00 -- PictureViewer路径 MouseEnterCell 打开窗口的同时根据动态路劲获得图片文件地址 并显示在PictureViewer中 地址存储在 图片列 If e.Col.Name = "资产ID" AndAlso e.Row.IsNull("资产ID") = False Then Forms("固定资产图片").Show Dim piv As WinForm.PictureViewer = e.Form.Controls("PictureViewer1") Dim ftp1 As New FtpClient ftp1.Host="******" ftp1.Account = "****" ftp1.Password = "*****" ftp1.DeleteEnabled =False \'禁用删除文件按钮 ftp1.RenameEnabled = False \'禁用重命名文件按钮 piv.FTPclient = ftp1 End If
|
-- 作者:有点蓝 -- 发布时间:2019/8/17 16:25:00 -- PictureViewer必须绑定图片列,然后需要看哪一行的图片,需要选中这一行。 e.table.position = e.row.index
|