dcsimg
Results 1 to 4 of 4

Thread: Node click problem

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2007
    Posts
    44

    Node click problem

    hi
    I have a problem with my TREEVIEW. When I click the node sign + then node is selected. I want only to expand to node and the previous node stay selected.
    how do I solve this problem

    thanks

  2. #2
    Hyperactive Member cameron2's Avatar
    Join Date
    Mar 2008
    Location
    Australia
    Posts
    401

    Re: Node click problem

    Make it so that each time a user clicks a node it saves it to same variable. When they click the + sign make it change the selected node to your varaiable. This way your variable will save the last clicked node and therefore will stay selected when you click the + button.
    If this post helped you, please click the rate button to say thank you! Remember to mark the thread as resolved too.
    Autoclicker, Hide Taskbar, Sounds on internal speaker, Changing Start Button Text (with code)

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2007
    Posts
    44

    Re: Node click problem

    how can I distinguish between a user clicking a node and when a user clicking the + sign of the node

    thanks

  4. #4
    Hyperactive Member cameron2's Avatar
    Join Date
    Mar 2008
    Location
    Australia
    Posts
    401

    Re: Node click problem

    Hmmm thats a tough one...
    I guess you could handle the click event for the control and then check if the selected index is changed if it isn't then the user might have clicked the + button if it is the user didn't click the + button.

    But there are major problems with that buti can't think of any other way.
    If this post helped you, please click the rate button to say thank you! Remember to mark the thread as resolved too.
    Autoclicker, Hide Taskbar, Sounds on internal speaker, Changing Start Button Text (with code)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width