treeView GetNodeAtPoint broken on ver. 287

Posted by: kbj on 25 January 2018, 5:51 pm EST

    • Post Options:
    • Link

    Posted 25 January 2018, 5:51 pm EST

    In the below 1 form app GetNodeAtPoint doesn’t adjust for vertical scrolling and returns the wrong node. Otherwise the speed of scrolling is much improved. Please fix this quickly.

    -Kingman

    Public Class Form1

    Private WithEvents tv As C1TreeView

    Private hoverNode As C1TreeNode

    Private Sub Form1_Load(sender As Object, e As EventArgs) Handles Me.Load

    tv = New C1TreeView

    For i = 0 To 999

    Dim n = New C1TreeNode

    n.SetValue(i.ToString)

    tv.Nodes.Add(n)

    Next

    Controls.Add(tv)

    tv.Dock = DockStyle.Fill

    End Sub

    Private Sub tv_MouseMove(sender As Object, e As MouseEventArgs) Handles tv.MouseMove

    hovernode = tv.GetNodeAtPoint(e.Location)

    If hovernode IsNot Nothing Then

    Debug.Print(hovernode.GetValue.ToString)

    End If

    End Sub

    End Class

  • Posted 29 January 2018, 5:10 am EST

    Hi Kingman,

    Thank you for sharing the code snippet.

    We are happy to let you know that the issue has already been fixed in an internal build version. Refer attached movie showing the new behavior. Could you please verify the fix using the video file.

    We will update you once the build releases.

    Thanks,

    Ruchir Agarwal

  • Posted 1 March 2018, 5:19 pm EST

    Hi Ruchir,

    I am still waiting for Jan update release. . . any news? Could you send me a prelim ver?

    Kingman

  • Posted 5 March 2018, 4:42 am EST

    Hello Kingman,

    The build including fix to your issue would be released by mid-march.

    Also, since the release date is very close, it would not be feasible for us to share a pre-release version.

    Thank you for co-operation.

    Regards,

    Ruchir Agarwal

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels