开发者

Treecontrol: SelectionChanged Event called thrice

I have a tree control used in my form and have around 10 items in the tree. Each Parent having one sub child/node.

I am handling the SelectionChanged event of the tree. Whenever an treeitem is selected this event is fired and the function开发者_如何学JAVA called. But this function is called at least thrice!!

Is there something that i have done wrong where everytime i select a tree item it is called thrice !!


r u doing something in the handler which causes tree selection event to fire ?

Can you please post some of your code?

EDIT

try putting e.Handeled = true in your handler

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜