07-19-2011 03:35 AM
When I double click the Level 1 and Level 2, all the children item will be opened or closed even on the symbols. But I don't want to see the open/close action caused by double click. Can I disable it?
Solved! Go to Solution.
07-19-2011 03:49 AM - edited 07-19-2011 03:50 AM
Try the Mouse Down? filter event on the tree control:
07-19-2011 05:11 AM
It works, great thx.
But why there is no Mouse Up? filter event? It would be more helpful than Mouse Down? filter event in my case.
07-19-2011 05:19 AM
@MoonSailer wrote:
It works, great thx.
But why there is no Mouse Up? filter event? It would be more helpful than Mouse Down? filter event in my case.
And why is that? I could imagine that each mouse down needs a corresponding mouse up event. When discarding the mouse down there's also no mouse up (didn't test this). When only discarding a mouse up event the "symmetry" would be broken because there's one more mouse down than mouse up. This could cause some code to fail.