You must Sign In to post a response.
  • Category: .NET

    how to assign 'some function' on double click in a tree view

    The forum thread has not been reviewed by Editors yet. Readers are advised to use their best judgement before accessing this thread.
    This thread will be reviewed shortly.
    If you think this thread contain inappropriate content, please report to webmaster.
    in a given treeview,if a user selects any of the child node,then it should display a perticular pannel (or some other function-displaying a form)
    how to do this?

    thanx in advance,
    shruthi
  • #266
    Can you give a better description - what exactly is the problem ?
    Regards,
    Tony John
    Webmaster - dotnetspider.com

  • #267
    Hi shruthi,

    You can use the following code for doing that.

    Private Sub TreeView1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles TreeView1.DoubleClick
    MsgBox("hai")
    'you can call any other statements/functions here
    End Sub


    With regards,

    Sadha Sivam S.

    <b>For the people who post there querries,</b>

    I kind request is, please post the questions more clearly. And also you should clearly tell what application you are developing. And in what language you are building your application.

    Solutiona for Windows Apllication and Web application will be different in most of the cases.

    With regards,

    <b>For the Dot Net Spider Team</b>

    My kind request for the Dot net spider team, please categorise the questions posted also.

  • #215830
    Hi Shruthi

    use this code to display the form when u click the click cone
    if e.node.name = "nodename" then
    pannel1.visible = true
    end if

    like that we can call function also

    By

    K. Rajesh Kumar


  • This thread is locked for new responses. Please post your comments and questions as a separate thread.
    If required, refer to the URL of this page in your new post.