TreeView_AfterCheck

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • [Yosi]

    TreeView_AfterCheck

    Hi,
    I have a tree view, when I check/uncheck the node checkbox the
    TreeView_AfterC heck event (function) occure and I go inside this function.
    In this function I trying to fegure which node has been checked , using the
    (System.Windows .Forms.TreeView )sender).Select edNode don't return the node
    checked it return the selected node which is not the same as the one checked.
    How can I solve this problem ?
  • larrylard@hotmail.com

    #2
    Re: TreeView_AfterC heck



    [Yosi] <Y...@discussio ns.microsoft.co m> wrote:[color=blue]
    > Hi,
    > I have a tree view, when I check/uncheck the node checkbox the
    > TreeView_AfterC heck event (function) occure and I go inside this function.
    > In this function I trying to fegure which node has been checked , using the
    > (System.Windows .Forms.TreeView )sender).Select edNode don't return the node
    > checked it return the selected node which is not the same as the one checked.
    > How can I solve this problem ?[/color]

    The second parameter to the AfterCheck event is of type
    TreeViewEventAr gs, the Node member of this will be the node that was
    checked/unchecked.

    --
    Larry Lard
    Replies to group please

    Comment

    Working...