Foxtable(狐表)用户栏目专家坐堂 → treeview的错误


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

主题:treeview的错误

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


加好友 发短信
等级:六尾狐 帖子:1495 积分:11133 威望:0 精华:0 注册:2014/8/13 16:19:00
treeview的错误  发帖心情 Post By:2020/4/15 16:34:00 [显示全部帖子]

代码:    Dim td As WinForm.TreeNode
    td = tvw1.nodes(Index)

下面这个错误。啥错误?

---------------------------
错误
---------------------------
编译错误:Overload resolution failed because no accessible 'Item' can be called without a narrowing conversion:
    'Public ReadOnly Default Property Item(Name As String) As WinForm.TreeNode': Argument matching parameter 'Name' narrows from 'Long' to 'String'.
    'Public ReadOnly Default Property Item(Index As Integer) As WinForm.TreeNode': Argument matching parameter 'Index' narrows from 'Long' to 'Integer'.



错误代码:td = tvw1.nodes(Index)
---------------------------
确定   
---------------------------


 回到顶部