Hi TJ,
Just call the AfterCheck event handler after you change the status of the
check.
Regards,
Ron.
"TJ" <(E-Mail Removed)> wrote in message
news:A1FA5DBD-A6B1-4DB7-8A17-(E-Mail Removed)...
> Hi,
>
> I registered event handler to catch the AfterCheck event...
>
> myTreeView.AfterCheck += new TreeViewEventHandler(myTreeView_....);
>
> It works fine, however, if I set the checkbox as true or false
> programatically(I mean..in the code, somethinglike node.Checked =
true...),
> aftercheck event
> wasn't fired. Of course, if I checked the checkbox by mouse or keyboard,
the
> event was fired. However, again, programatically set checkbox didn't
invoke
> the aftercheck event.
>
> Am I missing something?
> Any suggesion would be appreciated.
>
> Thanks.
>
> ...............................................TJ
>
>
>
>
|