T
timor.super
Hi group,
When I expand a treenode, I get this events in this order :
- AfterExpand
- AfterSelect
- NodeMouseClick
But I'm doing quite the same thing in each of this events, then, I do
my things 3 times altought I need only one time.
The problem is that I have to do this thing if I only select the node,
or if i only click on the node ; so depending on what i'm doing :
- click on the node (that is already selected) => my treatment is
doing 1 time (only the mouse click event is fired)
- click on the node (that is not selected) => 2 times (After select &
MouseClick)
- expand the node => 3 times
How can I make my treatment only one time and that all the 3 things
are covered ?
Thanks for your help
When I expand a treenode, I get this events in this order :
- AfterExpand
- AfterSelect
- NodeMouseClick
But I'm doing quite the same thing in each of this events, then, I do
my things 3 times altought I need only one time.
The problem is that I have to do this thing if I only select the node,
or if i only click on the node ; so depending on what i'm doing :
- click on the node (that is already selected) => my treatment is
doing 1 time (only the mouse click event is fired)
- click on the node (that is not selected) => 2 times (After select &
MouseClick)
- expand the node => 3 times
How can I make my treatment only one time and that all the 3 things
are covered ?
Thanks for your help